From 4db7c3976d8f4927959e1730313f48e3d8a3dabc Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 14 Dec 2018 19:35:41 -0500 Subject: project: imported osforce.mk from sbpython2 (for config.tag). --- project/osforce.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -- cgit v1.2.3