From 4d747db620d01b51f7d21b5b35eb6258ce1badb8 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 29 Aug 2011 22:44:46 +0200 Subject: [PATCH] Respect LDFLAGS and link LIBS after object files. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c0b4897..dd3b311 100755 --- a/makefile +++ b/makefile @@ -31,7 +31,7 @@ all: $(ALL) # linking the program. $(PROG): $(OBJS) - $(CXX) $(LIBS) $(OBJS) -o $(PROG) + $(CXX) $(LDFLAGS) $(OBJS) -o $(PROG) $(LIBS) # cleaning everything that can be automatically recreated with "make". clean: