Merge pull request #8 from maxice8/fix-makefile

Makefile: Fix installation and stripping
pull/9/head
Martin Tournoij 6 years ago committed by GitHub
commit eea197fbe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,11 @@
CC?=cc
CFLAGS?=-std=c99 -pedantic -Wall -Os
STRIP?=strip
PREFIX?=/usr
all:
${CC} ${CFLAGS} -o find-cursor find-cursor.c -lX11 -lXext -lXfixes
install:
install --strip -o root -g root find-cursor /bin/
$(STRIP) find-cursor
install -Dm755 find-cursor $(DESTDIR)$(PREFIX)/bin/find-cursor

Loading…
Cancel
Save