2020-11-30 21:59:08 +01:00
|
|
|
CFLAGS=-g -Wall
|
|
|
|
INCS=-I/usr/X11R6/include
|
|
|
|
LIBS=-L/usr/X11R6/lib -lX11
|
|
|
|
|
2020-12-03 20:45:30 +01:00
|
|
|
all: clean xpick
|
2020-11-30 21:59:08 +01:00
|
|
|
|
2020-12-03 20:45:30 +01:00
|
|
|
xpick:
|
|
|
|
$(CC) $(CFLAGS) $(INCS) $(LIBS) -o ${@} xpick.c
|
2020-11-30 21:59:08 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f xpick
|
|
|
|
|
|
|
|
install: xpick
|
|
|
|
install -m755 xpick /usr/local/bin/xpick
|