summaryrefslogtreecommitdiffstats
path: root/external-libs/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external-libs/build.mk')
-rw-r--r--external-libs/build.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/external-libs/build.mk b/external-libs/build.mk
index 5b092481..7c694bbb 100644
--- a/external-libs/build.mk
+++ b/external-libs/build.mk
@@ -1,6 +1,5 @@
TARGETS_external-libs = external-libs/$(OUTPUT_DIR)/libexternal.a
-INCLUDES_external-libs = external-libs/zlib external-libs/pcre \
- external-libs/$(OUTPUT_DIR)
+INCLUDES_external-libs = external-libs/zlib external-libs/pcre
SRCS_external-libs_zlib = \
external-libs/zlib/adler32.c \
@@ -51,7 +50,7 @@ $(OBJS_external-libs_zlib): external-libs/$(OUTPUT_DIR)/%.$(LOBJ): external-libs
$(call c_libcompile,$<,$(INCLUDES_external-libs))
$(OBJS_external-libs_pcre): external-libs/$(OUTPUT_DIR)/%.$(LOBJ): external-libs/pcre/%.c
- $(call c_libcompile,$<,$(INCLUDES_external-libs))
+ $(call c_libcompile,$<,$(INCLUDES_external-libs) external-libs/$(OUTPUT_DIR))
$(TARGETS_external-libs): $(OBJS_external-libs)
$(call makeslib,$(OBJS_external-libs),$(TARGETS_external-libs))