summaryrefslogtreecommitdiffstats
path: root/Bachelor/Mikroprozessorsysteme2/mi2/Termin3/Aufgabe/makefile1
blob: d10a7f9b0ddcadda25c0d22df92c0e1c142b8110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FILE = Termin3Aufgabe1
Opti = 1

all:
	arm-elf-gcc -c -g -O$(OPTI) ../boot/swi.S
	arm-elf-gcc -c -g -O$(OPTI) ../boot/boot.s
	arm-elf-gcc -g -c -O$(OPTI) $(FILE).c
	arm-elf-gcc -S -O$(OPTI) $(FILE).c
	arm-elf-ld -Ttext 0x2000000 swi.o boot.o $(FILE).o -o $(FILE).elf

clean:
	rm -f *.o
	rm *.elf