remove repeat flags when to compile multi-taget
[ti-make.git] / prefix.mak
blob4990947dd9071892f81260eb07e843ea2a80679b
1 # prefix makefile
3 # path seperator
4 ifeq ($(HOST), linux)
5 _ = /
6 endif
8 ifeq ($(HOST), windows)
9 _ = \\
10 endif
12 # path
13 SRC_DIR = $(PRO_DIR)$(_)src
14 BIN_DIR = $(PRO_DIR)$(_)bin$(_)$(ARCH)
15 INC_DIR = $(PRO_DIR)$(_)inc$(_)$(ARCH)
16 LIB_DIR = $(PRO_DIR)$(_)lib$(_)$(ARCH)
17 ARCH_DIR = $(PRO_DIR)$(_)arch$(_)$(ARCH)
18 PSRC_DIR = $(PRO_DIR)$(_)src$(_)pro
20 # exports
21 export _
23 # architecture makefile
24 -include $(ARCH_DIR)$(_)config.mak