aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)