From c35c0b9ec3ce6f599fbdd385e5382e582f19320e Mon Sep 17 00:00:00 2001 From: EliteTK Date: Wed, 8 Oct 2014 20:45:38 +0100 Subject: Added clean target. Fixed CFLAGS. --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 92437e6..88e79fa 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -CFLAGS = -O2 -std=gnu11 +CFLAGS = -Wall -Werror -Wpedantic -O2 -std=gnu11 PREFIX = /usr BINDIR = /bin @@ -22,3 +22,6 @@ install : $(DESTDIR)$(PREFIX)$(BINDIR)/$(target) uninstall : rm "$(DESTDIR)$(PREFIX)$(BINDIR)/$(target)" + +clean : + find . -mindepth 1 -maxdepth 1 -executable -type f -delete -- cgit v1.2.3-54-g00ecf