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