From ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 22 Jan 2019 11:42:58 +0100 Subject: Start using trie's instead of hash-maps. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9b8281fe..f5a36c8f 100644 --- a/Makefile +++ b/Makefile @@ -3,17 +3,18 @@ CC := gcc LEX := flex -CFLAGS = -Wall -DSAFE_STR -ggdb +CFLAGS = -Wall -DSAFE_STR -DSAFE_HASH -ggdb #LFLAGS = #LDFLAGS = C_FILES = $(wildcard *.c) +INC_FILES = $(wildcard *.inc) O_FILES = $(C_FILES:.c=.o) H_FILES = $(wildcard *.h) all: parse -%.o : %.c $(H_FILES) +%.o : %.c $(H_FILES) $(INC_FILES) $(CC) -c -o $@ $< ${CFLAGS} parse: $(O_FILES) -- cgit v1.2.3