Add target clean
This commit is contained in:
parent
f155ff878c
commit
099d15ec1d
|
@ -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 $^ $@
|
||||||
|
|
Loading…
Reference in New Issue