ada-examples-19990820
Last change
on this file since fef087a was
fef087a,
checked in by cvs2git <rtems-devel@…>, on 08/20/99 at 19:38:17
|
This commit was manufactured by cvs2svn to create tag 'ada-
examples-19990820'.
Sprout from OAR 1999-04-20 13:05:42 UTC Joel Sherrill <joel.sherrill@…> 'base GNAT/RTEMS examples'
Cherrypick from master 1999-08-20 19:38:16 UTC Joel Sherrill <joel.sherrill@…> 'Changed version to 19990820.':
VERSION
hello_world_ada/Makefile.erc32
hello_world_ada/init.c
|
-
Property mode set to
100644
|
File size:
740 bytes
|
Line | |
---|
1 | # |
---|
2 | # Makefile for hello world example |
---|
3 | # |
---|
4 | |
---|
5 | MAIN=hello |
---|
6 | |
---|
7 | # Tool paths |
---|
8 | target=sparc-rtems |
---|
9 | tooldir=/home/joel/gnat-to-test/${target}/ |
---|
10 | rtemsdir=${tooldir}/erc32 |
---|
11 | |
---|
12 | # Tool names |
---|
13 | GCC=${tooldir}/bin/${target}-gcc |
---|
14 | GNATMAKE=${tooldir}/bin/${target}-gnatmake |
---|
15 | SIZE=${tooldir}/bin/${target}-size |
---|
16 | SIS=${tooldir}/bin/sparc-rtems-sis |
---|
17 | GDB=${tooldir}/bin/sparc-rtems-gdb |
---|
18 | |
---|
19 | CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=cypress |
---|
20 | |
---|
21 | all: init.o |
---|
22 | $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ |
---|
23 | -bargs -r \ |
---|
24 | -cargs $(CARGS) \ |
---|
25 | -largs $(CARGS) init.o |
---|
26 | $(SIZE) $(MAIN) |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | init.o: init.c |
---|
31 | $(GCC) -O4 -g -Wall -ansi -fasm $(CARGS) -c init.c |
---|
32 | |
---|
33 | run: |
---|
34 | $(SIS) $(MAIN) |
---|
35 | |
---|
36 | gdb: |
---|
37 | $(GDB) $(MAIN) |
---|
38 | |
---|
39 | clean: |
---|
40 | rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN) |
---|
Note: See
TracBrowser
for help on using the repository browser.