blob: 622f1d5944e165a8d25c2d68d58d3ab2d095510c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# prefix makefile
# include project
include $(PRO_DIR)/project.mak
# the temporary directory
ifeq ($(TMPDIR),)
TMP_DIR :=$(if $(TMP_DIR),$(TMP_DIR),/tmp)
else
# for termux
TMP_DIR :=$(if $(TMP_DIR),$(TMP_DIR),$(TMPDIR))
endif
# the source directory
SRC_DIR = $(PRO_DIR)/src
# the binary directory
BIN_DIR = $(PRO_DIR)/bin
# the platform directory
PLAT_DIR = $(PRO_DIR)/plat/$(PLAT)
# the tool directory
TOOL_DIR = $(PRO_DIR)/tool
# the default include directory
INC_DIRS = $(PRO_DIR)
# the config file path
CFG_FILE = $(PRO_DIR)/$(PRO_NAME).config.h
# include platform prefix
-include $(PLAT_DIR)/prefix.mak
|