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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  Makefile for TS-1325 Utilities example
3
#
4
 
5
MAIN=ts1325_test
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
CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
19
-msoft-float -mno-fp-ret-in-387
20
 
21
all: init.o
22
        $(GNATMAKE)  -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)

powered by: WebSVN 2.1.0

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