aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 70243c5..d6748a7 100644
--- a/common.mk
+++ b/common.mk
@@ -2,7 +2,7 @@
.c.o:
$(E) " CC " $@
- $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+ $(Q) $(CC) $(CFLAGS) -I $(INCLUDE_DIR) $(CPPFLAGS) -c -o $@ $<
.cpp.o:
$(E) " CXX " $@
- $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
+ $(Q) $(CXX) $(CXXFLAGS) -I $(INCLUDE_DIR) $(CPPFLAGS) -c -o $@ $<