From 099d15ec1d379b2d28908f40ea6217e504811419 Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 5 Jul 2016 20:04:08 +0000 Subject: [PATCH] Add target clean --- xkeylog/GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xkeylog/GNUmakefile b/xkeylog/GNUmakefile index 5bc51d5..6ffc69c 100644 --- a/xkeylog/GNUmakefile +++ b/xkeylog/GNUmakefile @@ -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 $^ $@