summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09a764d..7a0491a 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ SRC_DIR = src
SRC = $(wildcard $(SRC_DIR)/*.cpp)
OBJ = $(SRC:.cpp=.o)
+INCLUDE = -I../lib/scriptpp
+
default: $(LIB)
@@ -26,7 +28,7 @@ deps.mk: $(SRC)
$(CC) -MM $^ > $@
%.o: %.cpp %.hpp
- $(CC) $(CPPFLAGS) -c $< -o $@
+ $(CC) $(CPPFLAGS) $(INCLUDE) -c $< -o $@
$(LIB): $(OBJ)
ar rcs $@ $^