Permalink
Browse files

Move LDFLAGS to end of statement, see issue 153 (building on Ubuntu 1…

…1.10)
  • Loading branch information...
1 parent bf823d3 commit 7587b4fd7e0ec14f4981559966cf4c63c7cd53cf @silentbicycle silentbicycle committed Jan 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -31,11 +31,11 @@ all: k k_test
k: CFLAGS += $(PRODFLAGS)
k: $(OBJS)
- $(CC) ${CFLAGS} $(LDFLAGS) $^ -o $@
+ $(CC) ${CFLAGS} $^ -o $@ $(LDFLAGS)
k_test: CFLAGS += $(DEVFLAGS)
k_test: $(OBJS_T) tests.t.o
- $(CC) ${CFLAGS} $(LDFLAGS) $^ -o $@
+ $(CC) ${CFLAGS} $^ -o $@ $(LDFLAGS)
test: k_test

1 comment on commit 7587b4f

fhars commented on 7587b4f Jan 28, 2012

Yes, thanks.

Please sign in to comment.