summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-10-18 12:37:46 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-10-18 12:37:46 +0300
commit9a23fd146be4ba64b0cb720993bdc73a514fecf2 (patch)
tree9c8d9554d37f7ab25087e1468c012fb41a6e39ee /Makefile
parent7b09f265c1deb12c9e6778c4d92473d66fc5406b (diff)
downloadtexo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.tar
texo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.tar.xz
texo-9a23fd146be4ba64b0cb720993bdc73a514fecf2.zip
.
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 $@ $^