Add target clean

This commit is contained in:
hjp 2016-07-05 20:04:08 +00:00
parent f155ff878c
commit 099d15ec1d
1 changed files with 4 additions and 0 deletions

View File

@ -1,8 +1,12 @@
all: xkeylog all: xkeylog
xkeylog: xkeylog.c xkeylog: xkeylog.c
gcc -O xkeylog.c -L/usr/X11R6/lib -lX11 -o xkeylog gcc -O xkeylog.c -L/usr/X11R6/lib -lX11 -o xkeylog
install: /usr/local/bin/xkeylog install: /usr/local/bin/xkeylog
clean:
rm -f xkeylog
/usr/local/bin/xkeylog: xkeylog /usr/local/bin/xkeylog: xkeylog
cp $^ $@ cp $^ $@