blob: 09a8c581f29804af45363581bec2115dbe4de9d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
ifneq ($(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
|