]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Don't link pak tool with SDL.
authorGuus Sliepen <guus@debian.org>
Thu, 4 Aug 2011 14:08:47 +0000 (16:08 +0200)
committerGuus Sliepen <guus@debian.org>
Thu, 4 Aug 2011 14:08:47 +0000 (16:08 +0200)
makefile

index 509c2ff862740f21acbab3274a2084beeee0c017..fbbc9a29051bd58f9d88ea7891dff6e02c573b33 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -23,6 +23,7 @@ CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEP
 CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT)
 CXXFLAGS += $(CFLAGS) -Werror
 LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -lz
+PAKLIBS = -lz
 
 OBJS += CAudio.o
 OBJS += CBoss.o
@@ -85,7 +86,7 @@ $(PROG): $(GAMEOBJS)
        $(CXX) $(GAMEOBJS) -o $(PROG) $(LIBS)
        
 pak: $(PAKOBJS)
-       $(CXX) $(PAKOBJS) -o pak $(LIBS)
+       $(CXX) $(PAKOBJS) -o pak $(PAKLIBS)
 
 %.mo: %.po
        msgfmt -c -o $@ $<