summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-16 10:11:27 -0500
committermidipix <writeonce@midipix.org>2018-12-16 10:14:17 -0500
commit9f3210f1757fba075377051488b8aeec428ea2ad (patch)
tree93be852310d766be104fec5cafb83511c6356d17 /Makefile.in
parentc7ad04b5f406295c37c6b872fcd6b63670c45b3b (diff)
downloadapimagic-9f3210f1757fba075377051488b8aeec428ea2ad.tar.bz2
apimagic-9f3210f1757fba075377051488b8aeec428ea2ad.tar.xz
build system: Makefile.in: include custom config defs before project files.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index cc4e332..25a6a55 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -119,13 +119,20 @@ include $(PROJECT_DIR)/sysinfo/compiler/$(COMPILER).mk
include $(PROJECT_DIR)/sysinfo/toolchain/$(TOOLCHAIN).mk
include $(PROJECT_DIR)/sysinfo/os/$(OS).mk
-include $(PROJECT_DIR)/project/osforce.mk
+ifeq ($(USE_CUSTOM_CFGDEFS),yes)
+include ./cfgdefs.mk
+endif
+
+ifeq ($(USE_CUSTOM_USRDEFS),yes)
+include ./usrdefs.mk
+endif
include $(PROJECT_DIR)/sofort/defs.mk
include $(PROJECT_DIR)/sofort/version.mk
include $(PROJECT_DIR)/sofort/custom.mk
include $(PROJECT_DIR)/sofort/pkgconf.mk
+include $(PROJECT_DIR)/project/osforce.mk
include $(PROJECT_DIR)/project/tree.mk
include $(PROJECT_DIR)/project/depends.mk
include $(PROJECT_DIR)/project/headers.mk
@@ -134,14 +141,6 @@ include $(PROJECT_DIR)/project/arch.mk
include $(PROJECT_DIR)/project/extras.mk
include $(PROJECT_DIR)/project/overrides.mk
-ifeq ($(USE_CUSTOM_CFGDEFS),yes)
-include ./cfgdefs.mk
-endif
-
-ifeq ($(USE_CUSTOM_USRDEFS),yes)
-include ./usrdefs.mk
-endif
-
$(APP_SRCS:%.c=%.o): CFLAGS_STATIC = $(CFLAGS_APP)