summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-11-21 22:53:28 -0500
committermidipix <writeonce@midipix.org>2018-11-22 23:55:03 -0500
commit18457f554ccd111a8cda22f66b2ebe8d49aae0f2 (patch)
tree9b4ef878e29fc91757f047f6c17b810546e96911
parent56aef57d7f63f23c42a5599c362b3057b871603a (diff)
downloadsbpython2-18457f554ccd111a8cda22f66b2ebe8d49aae0f2.tar.bz2
sbpython2-18457f554ccd111a8cda22f66b2ebe8d49aae0f2.tar.xz
config: added target definition for config.tag.
-rw-r--r--project/osforce.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/project/osforce.mk b/project/osforce.mk
index e69de29..b5a3556 100644
--- a/project/osforce.mk
+++ b/project/osforce.mk
@@ -0,0 +1,15 @@
+config.tag:
+ mkdir -p build
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/config.c build/
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h build/
+ touch config.tag
+
+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