diff options
author | EliteTK <tomasz.kramkowski@gmail.com> | 2014-10-08 20:45:38 +0100 |
---|---|---|
committer | EliteTK <tomasz.kramkowski@gmail.com> | 2014-10-08 20:45:38 +0100 |
commit | c35c0b9ec3ce6f599fbdd385e5382e582f19320e (patch) | |
tree | eaf599e6d2b7c54a32e442ea3a59e263ff32fab4 | |
parent | 24de13e1f225587af7d9ba8df8252a733c7c4817 (diff) | |
download | c-stuff-c35c0b9ec3ce6f599fbdd385e5382e582f19320e.tar.gz c-stuff-c35c0b9ec3ce6f599fbdd385e5382e582f19320e.tar.xz c-stuff-c35c0b9ec3ce6f599fbdd385e5382e582f19320e.zip |
Added clean target. Fixed CFLAGS.
-rw-r--r-- | makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |