From bc656f813135bc127c2e2811b686198a316aae1d Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 4 Aug 2011 16:08:47 +0200 Subject: [PATCH] Don't link pak tool with SDL. --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $@ $< -- 2.39.5