X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=0d965ed8b3aeb8197c6657c07f16acd3eccdee85;hb=86b5ef7c43c2a3485850b8a4f58c33aaf6ca2566;hp=fa01441749ca52e2eda960710cf21facbbf920f2;hpb=3b852038f69e28291498c05f115f498c4dd47657;p=andemo diff --git a/Makefile b/Makefile index fa01441..0d965ed 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ bin = demo warn = -pedantic -Wall dbg = -g -#opt = -O3 -ffast-math -fno-strict-aliasing +#opt = -O3 -ffast-math -fno-strict-aliasing -DNDEBUG def = -DMINIGLUT_USE_LIBC -DGLEW_STATIC incdir = -Isrc -Ilibs -Ilibs/imago/src -Ilibs/treestore -Ilibs/glew libs_path = libs/unix @@ -38,6 +38,9 @@ $(bin): $(obj) Makefile $(libs) %.w32.o: %.c $(CC) -o $@ $(CFLAGS) -c $< +$(libs_path)/%.a: + $(MAKE) -C libs + .PHONY: clean clean: rm -f $(obj) $(bin) @@ -66,6 +69,10 @@ android-clean: android-libs: $(MAKE) -f Makefile.android libs +.PHONY: install +install: + $(MAKE) -f Makefile.android install + .PHONY: run run: $(MAKE) -f Makefile.android install run