ada-examples-4-10-branchada-examples-4-7-branchada-examples-4-8-branchada-examples-4-9-branch
Last change
on this file since 63e8156 was
3ea7406,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/29/03 at 14:04:21
|
2003-01-29 Joel Sherrill <joel@…>
- hello_world_ada/README.ERC32, hello_world_ada/README.PSIM: Now
include CVS Ids.
- hello_world_ada/Makefile.jmr3904: New file.
|
-
Property mode set to
100644
|
File size:
758 bytes
|
Line | |
---|
1 | # |
---|
2 | # Makefile for hello world example |
---|
3 | # |
---|
4 | |
---|
5 | MAIN=hello |
---|
6 | |
---|
7 | # Tool paths |
---|
8 | target=mips-rtems |
---|
9 | tooldir=/opt/rtems/ |
---|
10 | rtemsdir=${tooldir}/$(target)/jmr3904 |
---|
11 | |
---|
12 | # Tool names |
---|
13 | GCC=${tooldir}/bin/${target}-gcc |
---|
14 | GNATMAKE=${tooldir}/bin/${target}-gnatmake |
---|
15 | SIZE=${tooldir}/bin/${target}-size |
---|
16 | RUN=${tooldir}/bin/mipstx39-rtems-run |
---|
17 | GDB=${tooldir}/bin/mipstx39-rtems-gdb |
---|
18 | |
---|
19 | CARGS=-B$(rtemsdir)/lib/ -specs bsp_specs -qrtems -march=r3900 -G0 |
---|
20 | |
---|
21 | # -bargs -r |
---|
22 | all: init.o |
---|
23 | $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ |
---|
24 | -bargs -Mgnat_main \ |
---|
25 | -cargs $(CARGS) \ |
---|
26 | -largs $(CARGS) init.o |
---|
27 | $(SIZE) $(MAIN) |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | init.o: init.c |
---|
32 | $(GCC) -O4 -g -Wall -ansi -fasm $(CARGS) -c init.c |
---|
33 | |
---|
34 | run: |
---|
35 | $(RUN) $(MAIN) |
---|
36 | |
---|
37 | gdb: |
---|
38 | $(GDB) $(MAIN) |
---|
39 | |
---|
40 | clean: |
---|
41 | rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN) |
---|
Note: See
TracBrowser
for help on using the repository browser.