diff --git a/src/Makefile b/src/Makefile index 19305bc5..5df950db 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,6 +2,8 @@ CC = clang LD = clang DB = gdb +CFLAGS = -I ../include + OBJ = main.o parse.o BUILD = ../build @@ -10,10 +12,9 @@ all: clean jas jas: $(OBJ) $(LD) $^ -o $(BUILD)/$@ -CFLAGS = -g debug: $(OBJ) - $(LD) $^ -o $(BUILD)/$@ $(CFLAGS) + $(LD) $^ -o $(BUILD)/$@ $(CFLAGS) -g sudo $(DB) $(BUILD)/$@ clean: diff --git a/src/main.c b/src/main.c index f2439c0a..60fc1310 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,4 @@ -#include +#include "parse.h" #include #include diff --git a/src/parse.c b/src/parse.c index 3fe2b06b..9f0201c4 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1,4 +1,4 @@ -#include +#include "parse.h" #include #include #include