aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-02-01 18:15:51 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-02-01 18:15:51 +0100
commit0571557ad1a943739806046a24fdaf1e62b32886 (patch)
tree22668b5f66de6543e61b4f081c9cee4cb0bc2a95 /Makefile
parent49eab61d8be0d0a83f6a6c00c0a8fee73cf70992 (diff)
downloadnissy-0571557ad1a943739806046a24fdaf1e62b32886.tar.gz
nissy-0571557ad1a943739806046a24fdaf1e62b32886.zip
Enabled make test and test.sh
Diffstat (limited to '')
-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