From: Guus Sliepen Date: Thu, 4 Aug 2011 14:08:47 +0000 (+0200) Subject: Don't link pak tool with SDL. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc656f813135bc127c2e2811b686198a316aae1d;p=quix0rs-blobwars.git Don't link pak tool with SDL. --- diff --git a/makefile b/makefile index 509c2ff..fbbc9a2 100755 --- 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 $@ $<