ada-examples-4-10-branchada-examples-4-8-branchada-examples-4-9-branch
Last change
on this file since 4ad07d0 was
4ad07d0,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/17/07 at 19:12:31
|
2007-07-17 Joel Sherrill <joel.sherrill@…>
- hello_world_ada/Makefile.anybsp, hello_world_ada/Makefile.pc386,
hello_world_ada/Makefile.score603e, hello_world_ada/init.c: Clean up
GNAT_MAIN_STACKSIZE.
|
-
Property mode set to
100644
|
File size:
743 bytes
|
Line | |
---|
1 | # |
---|
2 | # Makefile for hello world example |
---|
3 | # |
---|
4 | |
---|
5 | MAIN=hello |
---|
6 | |
---|
7 | # Tool paths |
---|
8 | tooldir=/avenger/afcc_ada/tools/powerpc-rtems-gnat-3.10p/ |
---|
9 | rtemsdir=${tooldir}/rtems/score603e |
---|
10 | |
---|
11 | # Tool names |
---|
12 | GCC=${tooldir}/bin/powerpc-rtems-gcc |
---|
13 | GNATMAKE=${tooldir}/bin/powerpc-rtems-gnatmake |
---|
14 | SIZE=${tooldir}/bin/powerpc-rtems-size |
---|
15 | |
---|
16 | CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=603 |
---|
17 | CARGS+=-DGNAT_MAIN_STACKSPACE=100 |
---|
18 | |
---|
19 | all: init.o |
---|
20 | $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ |
---|
21 | -bargs -r \ |
---|
22 | -cargs $(CARGS) \ |
---|
23 | -largs $(CARGS) init.o |
---|
24 | $(SIZE) $(MAIN) |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | init.o: init.c |
---|
29 | $(GCC) -O4 -g -Wall -ansi -fasm $(CARGS) -c init.c |
---|
30 | |
---|
31 | run: |
---|
32 | @ echo Must run on the real target |
---|
33 | |
---|
34 | gdb: |
---|
35 | @ echo No real target |
---|
36 | |
---|
37 | clean: |
---|
38 | rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN) |
---|
Note: See
TracBrowser
for help on using the repository browser.