summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-02-12 15:37:21 +0000
committernorly <ny-git@enpas.org>2013-02-21 19:51:49 +0000
commit00109bea051ebb16f337c078c96e3492ea4a764b (patch)
treee7708242ee1f7bf0ae8ef8901b52763e3fdbe819 /Makefile
parent1025e712b767bcca1a7c6f527c2ee5df06ac1167 (diff)
Fix build on Ubuntu 12.04
Thanks to Cristian Cadar.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 726b92a..9e07a47 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ debug: $(EXE)
$(EXE): $(OBJS)
@if [ ! -d $(BUILDDIR) ] ; then echo "Error: Build dir '$(BUILDDIR)' does not exist." ; false ; fi
- gcc $(LDFLAGS) -o $@ $^
+ gcc -o $@ $^ $(LDFLAGS)
$(BUILDDIR)/$(SRCDIR)/%.o: $(SRCDIR)/%.c $(HEADERS)