summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-04-28 08:55:15 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-04-28 08:55:15 +0200
commit210cf79cdddda090c5ed45e29b32efee73c50494 (patch)
tree032e5a3906f0522bfee40a001601788bc483b462 /Makefile
parentc3155b544a5065e8235508059c6512af6c46bd4d (diff)
simplify makefile for SMAUG benchmarks
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