Reicher82 / python / sbpython3

Forked from python/sbpython3 3 years ago
Clone
Blob Blame History Raw
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