diff options
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) |