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] - Rev 173

Compare with Previous | Blame | View Log

#
#  Makefile for TS-1325 Utilities example
#

MAIN=ts1325_test

# Tool paths
tooldir=/usr/local/rtems
rtemsdir=${tooldir}/ts_386ex

# Tool names
GCC=${tooldir}/bin/i386-rtemself-gcc
GNATMAKE=${tooldir}/bin/i386-rtemself-gnatmake
SIZE=${tooldir}/bin/i386-rtemself-size
SIS=${tooldir}/bin/sis
GDB=${tooldir}/bin/sis-gdb

CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
-msoft-float -mno-fp-ret-in-387

all: init.o 
        $(GNATMAKE)  -O -gnata -gnatE -gnato $(MAIN) -g \
            -bargs -r \
            -cargs $(CARGS) \
            -largs $(CARGS) init.o
        $(SIZE) $(MAIN)



init.o: init.c
        $(GCC) -O4 -g  -Wall -ansi -fasm $(CARGS) -c init.c

run:
        $(SIS) $(MAIN)  

gdb:
        $(GDB) $(MAIN)  

clean:
        rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN)

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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