aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 46234d5..e187a56 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,6 @@ DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
13 13
14CC = cc 14CC = cc
15 15
16
17all: nissy 16all: nissy
18 17
19nissy: clean 18nissy: clean
@@ -25,6 +24,9 @@ nissy.exe:
25debug: 24debug:
26 ${CC} ${DBGFLAGS} -o nissy src/*.c 25 ${CC} ${DBGFLAGS} -o nissy src/*.c
27 26
27test:
28 ${CC} ${CFLAGS} -DTEST -o tests/nissy_test src/*.c tests/*.c
29
28clean: 30clean:
29 rm -rf nissy nissy*.exe nissy*.tar.gz doc/nissy.html doc/nissy.pdf 31 rm -rf nissy nissy*.exe nissy*.tar.gz doc/nissy.html doc/nissy.pdf
30 32
@@ -63,5 +65,4 @@ uninstall:
63 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 65 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1
64 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done 66 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done
65 67
66.PHONY: all debug clean dist install test uninstall upload 68.PHONY: all debug test clean dist install uninstall upload
67

Generated with cgit - Back to sebastiano.tronto.net