gbasys
changeset 5:1807781b4503
separated the toolchain architecture prefix into a separate makefile variable
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 20 Jul 2012 22:47:39 +0300 |
parents | 5c6cdef01292 |
children | f77381b12726 |
files | Makefile |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/Makefile Thu Mar 08 14:38:51 2012 +0200 1.2 +++ b/Makefile Fri Jul 20 22:47:39 2012 +0300 1.3 @@ -4,10 +4,12 @@ 1.4 obj = $(src:.c=.o) 1.5 liba = libgbasys.a 1.6 1.7 -CPP = arm-eabi-cpp 1.8 -CC = arm-eabi-gcc 1.9 -AS = arm-eabi-as 1.10 -AR = arm-eabi-ar 1.11 +ARCH = arm-eabi 1.12 + 1.13 +CPP = $(ARCH)-cpp 1.14 +CC = $(ARCH)-gcc 1.15 +AS = $(ARCH)-as 1.16 +AR = $(ARCH)-ar 1.17 1.18 CFLAGS = -pedantic -marm -mcpu=arm7tdmi -Isrc 1.19