Support LDFLAGS

This way it is easier to specify the path to libraries with -L.
pull/9/head
Mateusz Piotrowski 5 years ago committed by GitHub
parent 4a92f61bdf
commit 19add1b666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ STRIP?=strip
PREFIX?=/usr
all:
${CC} ${CFLAGS} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes
${CC} ${CFLAGS} ${LDFLAGS} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes
install:
$(STRIP) find-cursor

Loading…
Cancel
Save