rtems-4-5-branch
Last change
on this file since 0dabaeb was
0dabaeb,
checked in by cvs2git <rtems-devel@…>, on 02/11/00 at 14:41:48
|
This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.
Sprout from OAR 1999-04-20 13:05:42 UTC Joel Sherrill <joel.sherrill@…> 'base GNAT/RTEMS examples'
Cherrypick from master 2000-02-11 14:41:47 UTC Joel Sherrill <joel.sherrill@…> 'Changed to reflect 3.12p.':
VERSION
hello_world_ada/Makefile.erc32
hello_world_ada/init.c
|
-
Property mode set to
100644
|
File size:
812 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 | tooldir=/usr2/tools_install/gnat-3.12p//${target}/ |
---|
11 | rtemsdir=${tooldir}/erc32 |
---|
12 | |
---|
13 | # Tool names |
---|
14 | GCC=${tooldir}/bin/${target}-gcc |
---|
15 | GNATMAKE=${tooldir}/bin/${target}-gnatmake |
---|
16 | SIZE=${tooldir}/bin/${target}-size |
---|
17 | SIS=${tooldir}/bin/sparc-rtems-sis |
---|
18 | GDB=${tooldir}/bin/sparc-rtems-gdb |
---|
19 | |
---|
20 | CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=cypress |
---|
21 | |
---|
22 | # -bargs -r |
---|
23 | all: init.o |
---|
24 | $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ |
---|
25 | -bargs -Mgnat_main \ |
---|
26 | -cargs $(CARGS) \ |
---|
27 | -largs $(CARGS) init.o |
---|
28 | $(SIZE) $(MAIN) |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | init.o: init.c |
---|
33 | $(GCC) -O4 -g -Wall -ansi -fasm $(CARGS) -c init.c |
---|
34 | |
---|
35 | run: |
---|
36 | $(SIS) $(MAIN) |
---|
37 | |
---|
38 | gdb: |
---|
39 | $(GDB) $(MAIN) |
---|
40 | |
---|
41 | clean: |
---|
42 | rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN) |
---|
Note: See
TracBrowser
for help on using the repository browser.