summaryrefslogtreecommitdiffstats
path: root/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/SCATTER/MAKEFILE
blob: 6dadf7aa4906c055702a462da5f26e9dff4d4c6b (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
CC=/xdevt/rel200/gccsunos/armcc -bi -c
LD= /xdevt/rel200/gccsunos/armlink
LIB=/xdevt/rel200/lib/armlib.32b

.c.o:
	$(CC) -APCS 3/32/noswst $< 

all: app/root

app/root: main.o uue.o getdata.o overmgrs.o initapp.o maininit.o
	$(LD) -bin -scatter scatdes -o app  maininit.o main.o overmgrs.o uue.o \
              getdata.o initapp.o  $(LIB) -map -symbols - -first maininit.o \
              -list tS.map -v

maininit.o: maininit.s
	armasm -bi -APCS 3/32/noswst  maininit.s 

initapp.o: initapp.s
	armasm -bi -APCS 3/32/noswst  initapp.s 

overmgrs.o: overmgrs.s
	armasm -bi -APCS 3/32/noswst  overmgrs.s 

main.o: main.c

uue.o: uue.c

getdata.o: getdata.c