Refine Makefile

This commit is contained in:
sh+github@codevoid.de 2020-12-03 19:45:30 +00:00
parent 61f2cf918c
commit 9df9027ce9

View File

@ -2,14 +2,13 @@ CFLAGS=-g -Wall
INCS=-I/usr/X11R6/include
LIBS=-L/usr/X11R6/lib -lX11
xpick:
$(CC) $(CFLAGS) $(INCS) $(LIBS) -o ${@} xpick.c
all: clean xpick
all: xpick
xpick:
$(CC) $(CFLAGS) $(INCS) $(LIBS) -o ${@} xpick.c
clean:
rm -f xpick
install: xpick
install -m755 xpick /usr/local/bin/xpick