From 083bf9e5ee63c1123b8255421ff321b66628a2fe Mon Sep 17 00:00:00 2001 From: Kenneth Hanley Date: Sat, 12 Dec 2015 17:13:35 +0000 Subject: Fixed linking order to properly link libraries. Linking failed prior --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e27abc8..861a237 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ CFLAGS += -DIMV_VERSION=\"$(VERSION)\" $(TARGET): $(OBJECTS) @echo "LINKING $@" - @$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) + @$(CC) -o $@ $^ $(LDLIBS) $(LDFLAGS) debug: CFLAGS += -DDEBUG -g -pg debug: $(TARGET) -- cgit v1.2.3