3 opt = -O1 -ffast-math -fomit-frame-pointer
5 inc_flags = -Isrc -Ilibs -I/usr/local/include
6 warn_flags = -Wall -Wno-sign-compare -Wno-strict-aliasing -Wno-char-subscripts
8 CXXFLAGS = $(opt) $(dbg) -ansi -pedantic $(warn_flags) -MMD $(inc_flags) \
10 CFLAGS = $(opt) $(dbg) -std=c89 -pedantic $(warn_flags) -MMD $(inc_flags) \
13 include src/3dengfx/makefile.part
14 include src/gfx/makefile.part
15 include src/n3dmath2/makefile.part
16 include src/dsys/makefile.part
17 include src/common/makefile.part
18 include src/fxwt/makefile.part
19 include src/sim/makefile.part
20 include libs/lib3ds/makefile.part
22 # get all the object files in one variable $(obj)
23 obj = $(3dengfx_obj) \
39 $(RM) $(obj) lib3dengfx.a