aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 11:42:58 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 11:42:58 +0100
commitebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9 (patch)
treebf97a4ba3a05c24ae1ec176f42656ce1608ee8d1 /Makefile
parentAdd very simple err header. (diff)
downloadcalp-ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9.tar.gz
calp-ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9.tar.xz
Start using trie's instead of hash-maps.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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)