From: Pacho Ramos Date: Mon, 29 Aug 2011 18:36:16 +0000 (+0200) Subject: Make build system respect LDFLAGS. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d312b6f5df0303dfadf1c6012b572e2ba958a19;p=quix0rs-blobwars.git Make build system respect LDFLAGS. --- diff --git a/makefile b/makefile index fbbc9a2..eb37204 100755 --- a/makefile +++ b/makefile @@ -83,16 +83,16 @@ all: $(ALL) # linking the program. $(PROG): $(GAMEOBJS) - $(CXX) $(GAMEOBJS) -o $(PROG) $(LIBS) + $(CXX) $(LDFLAGS) $(GAMEOBJS) -o $(PROG) $(LIBS) pak: $(PAKOBJS) - $(CXX) $(PAKOBJS) -o pak $(PAKLIBS) + $(CXX) $(LDFLAGS) $(PAKOBJS) -o pak $(PAKLIBS) %.mo: %.po msgfmt -c -o $@ $< mapeditor: $(MAPOBJS) - $(CXX) $(MAPOBJS) -o mapeditor $(LIBS) + $(CXX) $(LDFLAGS) $(MAPOBJS) -o mapeditor $(LIBS) # cleaning everything that can be automatically recreated with "make". clean: