aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKenneth Hanley <kennethhanley@gmail.com>2015-12-12 17:13:35 +0000
committerKenneth Hanley <kennethhanley@gmail.com>2015-12-12 17:13:35 +0000
commit083bf9e5ee63c1123b8255421ff321b66628a2fe (patch)
treef50f879ee1391b5cd911f0c222d0dcbcb9922124 /Makefile
parentf7365c85bd4169df2c2d4e9e8cb3bf51c4b4f3be (diff)
downloadimv-083bf9e5ee63c1123b8255421ff321b66628a2fe.tar.gz
Fixed linking order to properly link libraries. Linking failed prior
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)