mirror of
https://github.com/arp242/find-cursor
synced 2024-10-30 09:20:51 +00:00
Merge pull request #24 from MikeWalrus/master
Specify the libraries after source files
This commit is contained in:
commit
32f9e7f1d3
5
Makefile
5
Makefile
@ -3,12 +3,13 @@ PREFIX ?= /usr/local
|
||||
NAME ?= find-cursor
|
||||
|
||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wpedantic -Os
|
||||
LDFLAGS += -L/usr/lib -lX11 -lXext -lXfixes
|
||||
LDFLAGS += -L/usr/lib
|
||||
LIBS += -lX11 -lXext -lXfixes
|
||||
|
||||
.PHONY: all clean install uninstall
|
||||
|
||||
all:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o ${NAME} *.c
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o ${NAME} *.c ${LIBS}
|
||||
|
||||
clean:
|
||||
rm -f ${NAME}
|
||||
|
Loading…
Reference in New Issue
Block a user