Respect LDFLAGS and link LIBS after object files.

This commit is contained in:
Guus Sliepen 2011-08-29 22:44:46 +02:00
parent 4779481f30
commit 4d747db620
1 changed files with 1 additions and 1 deletions

View File

@ -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: