blob: a2041ed94c337a8644a30b7069057f46609a70df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
ifneq ($(CFGHOST),@cfghost@)
include $(PROJECT_DIR)/config/$(CFGHOST)/config.mk
endif
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
|