summaryrefslogtreecommitdiff
path: root/project/variants
diff options
context:
space:
mode:
Diffstat (limited to 'project/variants')
-rw-r--r--project/variants/3.6.3/common.mk4
-rw-r--r--project/variants/3.7.1/common.mk5
-rw-r--r--project/variants/3.7.2/common.mk5
3 files changed, 12 insertions, 2 deletions
diff --git a/project/variants/3.6.3/common.mk b/project/variants/3.6.3/common.mk
index b68c998..984d170 100644
--- a/project/variants/3.6.3/common.mk
+++ b/project/variants/3.6.3/common.mk
@@ -1,3 +1,4 @@
+core/%.ao: CFLAGS_APP += -DPy_BUILD_CORE
core/%.lo: CFLAGS_SHARED += -DPy_BUILD_CORE
core/%.o: CFLAGS_STATIC += -DPy_BUILD_CORE
@@ -7,6 +8,9 @@ core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.t
core/Modules/config.o: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
+core/%.ao: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
+ $(CC) -c -o $@ $< $(CFLAGS_APP)
+
core/%.lo: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
diff --git a/project/variants/3.7.1/common.mk b/project/variants/3.7.1/common.mk
index 0b79544..add8705 100644
--- a/project/variants/3.7.1/common.mk
+++ b/project/variants/3.7.1/common.mk
@@ -1,6 +1,6 @@
+core/%.ao: CFLAGS_APP += -DPy_BUILD_CORE
core/%.lo: CFLAGS_SHARED += -DPy_BUILD_CORE
core/%.o: CFLAGS_STATIC += -DPy_BUILD_CORE
-core/%.o: CFLAGS_APP += -DPy_BUILD_CORE
core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
@@ -8,6 +8,9 @@ core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.t
core/Modules/config.o: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
+core/%.ao: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
+ $(CC) -c -o $@ $< $(CFLAGS_APP)
+
core/%.lo: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
diff --git a/project/variants/3.7.2/common.mk b/project/variants/3.7.2/common.mk
index 0b79544..add8705 100644
--- a/project/variants/3.7.2/common.mk
+++ b/project/variants/3.7.2/common.mk
@@ -1,6 +1,6 @@
+core/%.ao: CFLAGS_APP += -DPy_BUILD_CORE
core/%.lo: CFLAGS_SHARED += -DPy_BUILD_CORE
core/%.o: CFLAGS_STATIC += -DPy_BUILD_CORE
-core/%.o: CFLAGS_APP += -DPy_BUILD_CORE
core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
@@ -8,6 +8,9 @@ core/Modules/config.lo: build/config.c $(ALL_HEADERS) host.tag tree.tag config.t
core/Modules/config.o: build/config.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
+core/%.ao: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
+ $(CC) -c -o $@ $< $(CFLAGS_APP)
+
core/%.lo: $(SOURCE_DIR)/%.c $(ALL_HEADERS) host.tag tree.tag config.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)