-
Notifications
You must be signed in to change notification settings - Fork 129
/
makefile_plat.inc
29 lines (26 loc) · 1.35 KB
/
makefile_plat.inc
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
#******************************************************************************
# Filename : Makefile
# Project : General Project
# Language : GUN makefile
# Description : Created to define make platform
# Edit History : Created by goome at 2018-07-25
#******************************************************************************
#******************************************************************************
#PLATFORM
#******************************************************************************
ARMTOOL_PATH=C:\Progra~1\ARM\RVCT
#*****************************************************************************
# Make file MACRO definitions
#*****************************************************************************
DIR_ARM=$(strip $(ARMTOOL_PATH))
DIR_TOOL = $(DIR_ARM)\Programs\3.1\569\win_32-pentium
DIR_ARMLIB = $(DIR_ARM)\Data\3.1\569\lib
DIR_ARMINC = $(DIR_ARM)\Data\3.1\569\include\windows
DIR_TOOL := $(strip $(DIR_TOOL))
CC32 = $(DIR_TOOL)\armcc.exe --arm
CC = $(DIR_TOOL)\armcc.exe --thumb
LINK = $(DIR_TOOL)\armlink.exe # Linker
ASM = $(DIR_TOOL)\armasm.exe # ARM assembler
AR = $(DIR_TOOL)\armar.exe # Library tool
BIN_TOOL = $(DIR_TOOL)\fromelf.exe # Binary tool
MAKE = make.exe