Add target clean
This commit is contained in:
parent
f155ff878c
commit
099d15ec1d
|
@ -1,8 +1,12 @@
|
|||
all: xkeylog
|
||||
|
||||
xkeylog: xkeylog.c
|
||||
gcc -O xkeylog.c -L/usr/X11R6/lib -lX11 -o xkeylog
|
||||
|
||||
install: /usr/local/bin/xkeylog
|
||||
|
||||
clean:
|
||||
rm -f xkeylog
|
||||
|
||||
/usr/local/bin/xkeylog: xkeylog
|
||||
cp $^ $@
|
||||
|
|
Loading…
Reference in New Issue