summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 20e2773..c6d7215 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,6 @@
-#CFLAGS=-O2 -Wall -g
-NAME=mbw
-TARFILE=${NAME}.tar.gz
-
mbw: mbw.c
+ gcc -Wall -Wextra -pedantic -O2 -o mbw mbw.c
+.PHONY: clean
clean:
rm -f mbw
- rm -f ${NAME}.tar.gz
-
-${TARFILE}: clean
- tar cCzf .. ${NAME}.tar.gz --exclude-vcs ${NAME} || true
-
-rpm: ${TARFILE}
- rpmbuild -ta ${NAME}.tar.gz