source: ada-examples/hello_world_ada/Makefile.score603e @ 7efcefa

OARada-examples-4-10-branchada-examples-4-6-branchada-examples-4-7-branchada-examples-4-8-branchada-examples-4-9-branchrtems-4-5-branch ADA-EXAMPLES-BASE
Last change on this file since 7efcefa was 7efcefa, checked in by Joel Sherrill <joel.sherrill@…>, on 04/20/99 at 13:05:42

base GNAT/RTEMS examples

  • Property mode set to 100644
File size: 709 bytes
RevLine 
[7efcefa]1#
2#  Makefile for hello world example
3#
4
5MAIN=hello
6
7# Tool paths
8tooldir=/avenger/afcc_ada/tools/powerpc-rtems-gnat-3.10p/
9rtemsdir=${tooldir}/rtems/score603e
10
11# Tool names
12GCC=${tooldir}/bin/powerpc-rtems-gcc
13GNATMAKE=${tooldir}/bin/powerpc-rtems-gnatmake
14SIZE=${tooldir}/bin/powerpc-rtems-size
15
16CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=603
17
18all: init.o
19        $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \
20            -bargs -r \
21            -cargs $(CARGS) \
22            -largs $(CARGS) init.o
23        $(SIZE) $(MAIN)
24
25
26
27init.o: init.c
28        $(GCC) -O4 -g  -Wall -ansi -fasm $(CARGS) -c init.c
29
30run:
31        @ echo Must run on the real target
32
33gdb:
34        @ echo No real target
35
36clean:
37        rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN)
Note: See TracBrowser for help on using the repository browser.