aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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