aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-16 10:58:54 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-16 10:58:54 +0200
commit02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (patch)
treed3385b1a1c915a74c373434032f0fe26e843854f /Makefile
parentc04a283a7ab97903683f5f7268068aef69f5bddf (diff)
downloadnissy-core-02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5.tar.gz
nissy-core-02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5.zip
Added rudimentary shell to run commands (ugly)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 8004637..5859eca 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ debugcube.o: clean
12 ${CC} -D${CUBETYPE} ${DBGFLAGS} -c -o debugcube.o src/cube.c 12 ${CC} -D${CUBETYPE} ${DBGFLAGS} -c -o debugcube.o src/cube.c
13 13
14clean: 14clean:
15 rm -rf *.o gen debuggen 15 rm -rf *.o run
16 16
17test: debugcube.o 17test: debugcube.o
18 CUBETYPE=${CUBETYPE} TEST=${TEST} ./test/test.sh 18 CUBETYPE=${CUBETYPE} TEST=${TEST} ./test/test.sh
@@ -20,10 +20,8 @@ test: debugcube.o
20benchmark: cube.o 20benchmark: cube.o
21 CUBETYPE=${CUBETYPE} ./benchmark/benchmark.sh 21 CUBETYPE=${CUBETYPE} ./benchmark/benchmark.sh
22 22
23gen: cube.o 23shell: cube.o
24 ${CC} ${CFLAGS} -o gen cube.o tables/tables.c 24 mkdir -p tables
25 ${CC} ${CFLAGS} -o run cube.o shell.c
25 26
26debuggen: debugcube.o 27.PHONY: all clean test benchmark shell
27 ${CC} ${DBGFLAGS} -o debuggen debugcube.o tables/tables.c
28
29.PHONY: all clean test benchmark gen debuggen

Generated with cgit - Back to sebastiano.tronto.net