summaryrefslogtreecommitdiff
path: root/Makefile
blob: 20e2773d82f33c703ae336dfd901617d999d17c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#CFLAGS=-O2 -Wall -g
NAME=mbw
TARFILE=${NAME}.tar.gz

mbw: mbw.c

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