From 3d312b6f5df0303dfadf1c6012b572e2ba958a19 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 29 Aug 2011 20:36:16 +0200 Subject: [PATCH] Make build system respect LDFLAGS. --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.39.5