OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [ts_386ex/] [tools/] [debug_ada/] [Makefile.ts_386ex] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  Makefile for debug example
3
#
4
 
5
MAIN=debug
6
 
7
# Tool paths
8
tooldir=/usr/local/rtems
9
rtemsdir=${tooldir}/ts_386ex
10
 
11
# Tool names
12
GCC=${tooldir}/bin/i386-rtemself-gcc
13
GNATMAKE=${tooldir}/bin/i386-rtemself-gnatmake
14
SIZE=${tooldir}/bin/i386-rtemself-size
15
SIS=${tooldir}/bin/sis
16
GDB=${tooldir}/bin/sis-gdb
17
 
18
CINCLUDES=
19
 
20
AINCLUDES=-i -I../ts_1325_ada
21
 
22
CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
23
        -msoft-float -mno-fp-ret-in-387
24
 
25
all: init.o
26
        $(GNATMAKE) -O2 -g -gnata -gnatE -gnato -gnatn $(AINCLUDES) $(MAIN) \
27
            -bargs -r \
28
            -cargs $(CARGS) \
29
            -largs $(CARGS) init.o
30
        $(SIZE) $(MAIN)
31
 
32
init.o: init.c
33
        $(GCC) -O2 -g  -Wall -ansi -fasm $(CARGS) $(CINCLUDES) -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)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.