diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 11:42:58 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 11:42:58 +0100 |
commit | ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9 (patch) | |
tree | bf97a4ba3a05c24ae1ec176f42656ce1608ee8d1 /Makefile | |
parent | Add very simple err header. (diff) | |
download | calp-ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9.tar.gz calp-ebe5c7e428b57dca758b1b3a1d8b7d4b423b19a9.tar.xz |
Start using trie's instead of hash-maps.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |