X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=159a11908f7fb723bf7052f7460253d7bb862ec8;hb=f5591e75b24a7fce77cf4f8bc3f84e46a716a89a;hp=010e24e36b25a375c2456cccf473d15ec87f5c85;hpb=6c322d339ec9c5063c8f47117633b46e2a8eafd0;p=summerhack diff --git a/Makefile b/Makefile index 010e24e..159a119 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,9 @@ obj = $(src:.cpp=.o) $(csrc:.c=.o) opt = -O1 opt = -g -CXXFLAGS = -ansi -pedantic -Wall $(opt) -Isrc/3dengfx/src -MMD `sdl-config --cflags` -CFLAGS = -std=c89 -pedantic -Wall $(opt) -MMD `sdl-config --cflags` +incdir = -Isrc/3dengfx/src -Ilibs -Ilibs/png -Ilibs/jpeglib -Ilibs/ogg -Ilibs/vorbis +CXXFLAGS = -ansi -pedantic -Wall $(opt) $(incdir) -MMD `sdl-config --cflags` +CFLAGS = -std=c89 -pedantic -Wall $(opt) $(incdir) -MMD `sdl-config --cflags` libs = -Llibs src/3dengfx/lib3dengfx.a `sdl-config --libs` -lGL -lvorbis -logg \ -ljpeg -lpng -lz -l3ds