diff options
author | midipix <writeonce@midipix.org> | 2021-04-11 08:58:39 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-11 08:58:39 +0000 |
commit | 7be0926cefd5b04084939394f50f3e2aed74f84a (patch) | |
tree | 3c0fd6db9a1a32419a33e27aff35bfcf5f4dac59 /project/variants | |
parent | 25476912c59550edf26750c0b62874abd83034f2 (diff) | |
download | sbpython3-7be0926cefd5b04084939394f50f3e2aed74f84a.tar.bz2 sbpython3-7be0926cefd5b04084939394f50f3e2aed74f84a.tar.xz |
project: added missing inference rule for application objects (.ao suffix).
Diffstat (limited to 'project/variants')
-rw-r--r-- | project/variants/3.6.3/common.mk | 4 | ||||
-rw-r--r-- | project/variants/3.7.1/common.mk | 5 | ||||
-rw-r--r-- | project/variants/3.7.2/common.mk | 5 |
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) |