summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-14 19:35:41 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:38 -0500
commit4db7c3976d8f4927959e1730313f48e3d8a3dabc (patch)
tree5a9f09e7b82287fe19ee663c36c35347c69cd995
parent11fe1bf64acded045c9bf356684ebd17fed9515a (diff)
downloadsbpython3-4db7c3976d8f4927959e1730313f48e3d8a3dabc.tar.bz2
sbpython3-4db7c3976d8f4927959e1730313f48e3d8a3dabc.tar.xz
project: imported osforce.mk from sbpython2 (for config.tag).
-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