From 66a86d1b20a1e97b2d008e73db7557887fc44edf Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 6 Nov 2021 13:01:47 +0200 Subject: Progress --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3