X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=bc33ff8d25e0a1268c27b1b918e29aa0828ce5c2;hb=21cb5f9bccf9d04d686e3126bfd7510dfa554d88;hp=d5f022e3f83c2467e564c1aa7cd115cb496a6fb2;hpb=6e23259dbabaeb1711a2a5ca25b9cb421f693759;p=summerhack diff --git a/Makefile b/Makefile index d5f022e..bc33ff8 100644 --- a/Makefile +++ b/Makefile @@ -13,10 +13,11 @@ CXXFLAGS = -ansi -pedantic -Wall $(opt) -Isrc/3dengfx/src -MMD `sdl-config --cfl CFLAGS = -std=c89 -pedantic -Wall $(opt) -MMD `sdl-config --cflags` libs = src/3dengfx/lib3dengfx.a `sdl-config --libs` -lGL -lvorbisfile -ljpeg -lpng -lz -$(bin): $(obj) src/3dengfx/lib3dengfx.a +$(bin): $(obj) 3dengfx $(CXX) -o $@ $(obj) $(libs) -src/3dengfx/lib3dengfx.a: +.PHONY: 3dengfx +3dengfx: $(MAKE) -C src/3dengfx -include $(obj:.o=.d)