Last change
on this file since 759 was
744,
checked in by cfuguet, 10 years ago
|
giet_tsar: using CLUSTER_IO constant in stdio functions
- Erasing also extra end-of-line spaces
|
File size:
853 bytes
|
Rev | Line | |
---|
[244] | 1 | LD = mipsel-unknown-elf-ld |
---|
| 2 | CC = mipsel-unknown-elf-gcc |
---|
| 3 | AS = mipsel-unknown-elf-as |
---|
| 4 | DU = mipsel-unknown-elf-objdump |
---|
[158] | 5 | |
---|
[744] | 6 | OBJS = reset.o \ |
---|
| 7 | giet.o \ |
---|
| 8 | stdio.o \ |
---|
| 9 | main.o |
---|
[158] | 10 | |
---|
[744] | 11 | CFLAGS = -Wall -mno-gpopt -ffreestanding -fomit-frame-pointer -mips32 \ |
---|
| 12 | -msoft-float -O2 \ |
---|
| 13 | # -ggdb -mlong-calls |
---|
[158] | 14 | |
---|
[244] | 15 | GIET = ../giet_tsar |
---|
[158] | 16 | |
---|
| 17 | bin.soft: $(OBJS) ldscript |
---|
| 18 | $(LD) -o $@ -T ldscript $(OBJS) |
---|
| 19 | $(DU) -D $@ > $@.txt |
---|
| 20 | |
---|
[623] | 21 | reset.o: $(GIET)/reset.S hard_config.h |
---|
[744] | 22 | $(CC) -I. -I$(GIET) $(CFLAGS) -c -o $@ $< |
---|
[158] | 23 | $(DU) -D $@ > $@.txt |
---|
| 24 | |
---|
[623] | 25 | giet.o: $(GIET)/giet.S hard_config.h |
---|
| 26 | $(CC) -I. $(CFLAGS) -c -o $@ $< |
---|
[158] | 27 | $(DU) -D $@ > $@.txt |
---|
| 28 | |
---|
[623] | 29 | stdio.o: $(GIET)/stdio.c hard_config.h |
---|
| 30 | $(CC) -I. $(CFLAGS) -c -o $@ $< |
---|
[158] | 31 | $(DU) -D $@ > $@.txt |
---|
| 32 | |
---|
[623] | 33 | main.o: main.c hard_config.h |
---|
| 34 | $(CC) -I. $(CFLAGS) -I$(GIET) -c -o $@ $< |
---|
[158] | 35 | $(DU) -D $@ > $@.txt |
---|
| 36 | |
---|
| 37 | clean: |
---|
[623] | 38 | rm -f *.o bin.soft *.txt core term* temp |
---|
Note: See
TracBrowser
for help on using the repository browser.