summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
committergramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
commit66a86d1b20a1e97b2d008e73db7557887fc44edf (patch)
treed778fa893496fc7d4c3609dc8d3d8f667182217d /Makefile
parent9deed51aa2df7ca5979963f7452a6439ad2d3767 (diff)
downloadfoodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.gz
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.bz2
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.zip
Progress
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 99629f0..82c9da1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,9 @@
-TARGET=c.out
+TARGET=food
SRC=*.c
CC=gcc
CFLAGS=-D_GNU_SOURCE -std=c99 -pedantic
REL_FLAGS=-O3
DBG_FLAGS=-Wall -g3
-# LIBS=-l X11
make: $(SRC)
$(CC) $(REL_FLAGS) $(CFLAGS) -o $(TARGET) $^ $(LIBS)
@@ -15,6 +14,12 @@ debug: $(SRC)
noasan: $(SRC)
$(CC) $(DBG_FLAGS) $(CFLAGS) -o $(TARGET) $^ $(LIBS)
+tests:
+ $(MAKE) -C test
+
+clean-tests:
+ $(MAKE) clean -C test
+
.PHONY: clean
clean: