X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=0d965ed8b3aeb8197c6657c07f16acd3eccdee85;hb=86b5ef7c43c2a3485850b8a4f58c33aaf6ca2566;hp=154c2abb244b4c4d479266d7fb5f5d52070e4517;hpb=ab16e737cf21ee1746868e027448d02de00954f7;p=andemo diff --git a/Makefile b/Makefile index 154c2ab..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)