Force LDFLAGS to the end

main v0.1
Andrew Hills 2015-06-04 15:40:50 -04:00
parent 0aec050102
commit 7c46720839
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ CFLAGS+= -I../strfile -DFORTDIR=\"$(FORTDIR)\"
LDFLAGS+= -lbsd
fortune : fortune.c
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
install :
mkdir -p $(DESTDIR)$(PREFIX)/bin

View File

@ -1,6 +1,7 @@
LDFLAGS+= -lbsd
strfile : strfile.c
$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
install :
mkdir -p $(DESTDIR)$(PREFIX)/bin