From 9ca26d9736a128731264237babaf35134877b6cd Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 13 Aug 2010 06:45:38 +0000 Subject: [PATCH] don't link build utils to all the libs needed for the actual engine itself git-svn-id: https://svn.eduke32.com/eduke32@1694 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/Makefile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/polymer/eduke32/build/Makefile b/polymer/eduke32/build/Makefile index 84251ef89..a4e0a4cc5 100644 --- a/polymer/eduke32/build/Makefile +++ b/polymer/eduke32/build/Makefile @@ -110,6 +110,8 @@ OURCXXFLAGS=-fno-exceptions -fno-rtti ASFLAGS=-s #-g EXESUFFIX= +UTILLIBS=-lpthread + include Makefile.shared ENGINEOBJS= @@ -236,23 +238,23 @@ pragmacheck$(EXESUFFIX): $(OBJ)/pragmacheck.$o $(OBJ)/pragmas.$o $(CC) $(subst -Dmain=app_main,,$(OURCFLAGS)) -o $@ $^ kextract$(EXESUFFIX): $(OBJ)/kextract.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) kgroup$(EXESUFFIX): $(OBJ)/kgroup.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) transpal$(EXESUFFIX): $(OBJ)/transpal.$o $(OBJ)/pragmas.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) wad2art$(EXESUFFIX): $(OBJ)/wad2art.$o $(OBJ)/pragmas.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) wad2map$(EXESUFFIX): $(OBJ)/wad2map.$o $(OBJ)/pragmas.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) generateicon$(EXESUFFIX): $(OBJ)/generateicon.$o $(OBJ)/kplib.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) cacheinfo$(EXESUFFIX): $(OBJ)/cacheinfo.$o $(OBJ)/compat.$o $(OBJ)/nedmalloc.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) enumdisplay$(EXESUFFIX): src/misc/enumdisplay.c - $(CC) -g -Os -o $@ $^ $(LIBS) -I$(DXROOT)/include -lgdi32 + $(CC) -g -Os -o $@ $^ $(UTILLIBS) -I$(DXROOT)/include -lgdi32 mapdump$(EXESUFFIX): $(OBJ)/mapdump.$o - $(CC) -o $@ $^ $(LIBS) + $(CC) -o $@ $^ $(UTILLIBS) # DEPENDENCIES include Makefile.deps