diff options
Diffstat (limited to 'Bachelor/Mikroprozessorsysteme2/mi2/Termin3/makefile1')
| -rw-r--r-- | Bachelor/Mikroprozessorsysteme2/mi2/Termin3/makefile1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Bachelor/Mikroprozessorsysteme2/mi2/Termin3/makefile1 b/Bachelor/Mikroprozessorsysteme2/mi2/Termin3/makefile1 new file mode 100644 index 0000000..6308804 --- /dev/null +++ b/Bachelor/Mikroprozessorsysteme2/mi2/Termin3/makefile1 @@ -0,0 +1,14 @@ +FILE = Termin3Aufgabe3
+Opti = 1
+
+all:
+ arm-elf-gcc -c -g -O1 ../boot/swi.S
+ arm-elf-gcc -c -g -O1 ../boot/boot.s
+ arm-elf-gcc -c -g -O1 $(FILE).c
+ arm-elf-gcc -S $(FILE).c
+ arm-elf-ld -Ttext 0x2000000 swi.o boot.o $(FILE).o -o $(FILE).elf
+
+clean:
+ rm -f *.o
+ rm *.elf
+
|
