summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/osforce.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/project/osforce.mk b/project/osforce.mk
index e69de29..ea1eff2 100644
--- a/project/osforce.mk
+++ b/project/osforce.mk
@@ -0,0 +1,21 @@
+ifneq ($(CFGHOST),@cfghost@)
+include $(PROJECT_DIR)/config/$(CFGHOST)/config.mk
+endif
+
+config.tag:
+ mkdir -p build
+ cp -p $(PROJECT_DIR)/config/$(CFGHOST)/config.c build/
+ cp -p $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h build/
+ touch config.tag
+ touch build/config.c
+ touch build/pyconfig.h
+
+clean-config:
+ rm -f config.tag
+ rm -f build/config.c
+ rm -f build/pyconfig.h
+
+clean: clean-config
+
+build/config.c: config.tag
+build/pyconfig.h: config.tag