Skip to content

Commit

Permalink
Move LDFLAGS to end of statement, see issue 153 (building on Ubuntu 1…
Browse files Browse the repository at this point in the history
…1.10)
  • Loading branch information
silentbicycle committed Jan 28, 2012
1 parent bf823d3 commit 7587b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 7587b4f

@fhars
Copy link

@fhars fhars commented on 7587b4f Jan 28, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks.

Please sign in to comment.