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
%.w32.o: %.c
$(CC) -o $@ $(CFLAGS) -c $<
+$(libs_path)/%.a:
+ $(MAKE) -C libs
+
.PHONY: clean
clean:
rm -f $(obj) $(bin)
android-libs:
$(MAKE) -f Makefile.android libs
+.PHONY: install
+install:
+ $(MAKE) -f Makefile.android install
+
.PHONY: run
run:
$(MAKE) -f Makefile.android install run