aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-12-12 18:11:50 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-12-12 18:11:50 +0000
commita01f3b3b1a9ad50e59bd05c4a8e08ae4ad547183 (patch)
treef50f879ee1391b5cd911f0c222d0dcbcb9922124 /Makefile
parentf7365c85bd4169df2c2d4e9e8cb3bf51c4b4f3be (diff)
parent083bf9e5ee63c1123b8255421ff321b66628a2fe (diff)
downloadimv-a01f3b3b1a9ad50e59bd05c4a8e08ae4ad547183.tar.gz
Merge pull request #55 from khanley6/LinkingFix
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)