aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
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