aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-01-22 00:23:32 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-01-22 00:23:32 +0100
commitaaeb153ce869567f4f88f083dba28445216714f6 (patch)
tree00848a7ee91478f68f26226d10685c579079fe88 /Makefile
parent6dc6d1004393b7c093a3aef7456af67662d56fee (diff)
downloadnissy-aaeb153ce869567f4f88f083dba28445216714f6.tar.gz
nissy-aaeb153ce869567f4f88f083dba28445216714f6.zip
Started working on testing (broken for now)
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1b6055b..46234d5 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,6 @@ CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
10 -Wno-unused-parameter -O3 ${CPPFLAGS} 10 -Wno-unused-parameter -O3 ${CPPFLAGS}
11DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ 11DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
12 -Wno-unused-parameter -g ${CPPFLAGS} 12 -Wno-unused-parameter -g ${CPPFLAGS}
13TESTFLAGS = ${DBGFLAGS} -DTEST
14 13
15CC = cc 14CC = cc
16 15
@@ -20,11 +19,6 @@ all: nissy
20nissy: clean 19nissy: clean
21 ${CC} ${CFLAGS} -o nissy src/*.c 20 ${CC} ${CFLAGS} -o nissy src/*.c
22 21
23test:
24 ${CC} ${TESTFLAGS} -o nissy-test src/*.c tests/*.c
25 ./nissy-test
26 rm nissy-test
27
28nissy.exe: 22nissy.exe:
29 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c 23 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c
30 24

Generated with cgit - Back to sebastiano.tronto.net