From 53ab9ae05a579a19c626e8be0c1e2cf9244bf863 Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 28 Jan 2022 13:45:30 +0200 Subject: sha1 sum and others --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3b011df..28066bd 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ CC=gcc -CFLAGS=-D_GNU_SOURCE -std=c99 -pedantic -O3 -DBG_FLAGS=-Wall -g3 -D_FOOD_DEBUG -fsanitize=address -Og +CFLAGS=-D_GNU_SOURCE -std=c99 -pedantic +DBG_FLAGS=-Wall -g -D_FOOD_DEBUG -fsanitize=address -O0 SRC=src/*.c .PHONY: all debug clean -all: food #eval +all: food cookbook #eval food: $(SRC) food.c $(CC) $(CFLAGS) -o food $^ $(LIBS) @@ -15,12 +15,15 @@ food: $(SRC) food.c eval: $(SRC) eval.c $(CC) $(CFLAGS) -o eval $^ $(LIBS) +cookbook: $(SRC) cookbook.c + $(CC) $(CFLAGS) -o cookbook $^ $(LIBS) + debug: CFLAGS += $(DBG_FLAGS) debug: all clean: rm -f *.o - rm -f food eval + rm -f food eval cookbook # tests: # $(MAKE) -C test -- cgit v1.2.3