URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 6 |
Rev 63 |
Line 40... |
Line 40... |
#******************************************************************************#
|
#******************************************************************************#
|
##
|
##
|
## Makefile for the ORPSoC software utilities
|
## Makefile for the ORPSoC software utilities
|
##
|
##
|
|
|
PROGRAMS = bin2c bin2srec bin2flimg bin2hex bin2vmem
|
PROGRAMS = bin2c bin2srec bin2flimg bin2hex bin2vmem binlog2readable
|
# NB: 'loader' not in that list
|
# NB: 'loader' not in that list
|
|
|
CC = gcc
|
CC = gcc
|
|
CPP = g++
|
CFLAGS = -O2 -Wall
|
CFLAGS = -O2 -Wall
|
|
#CFLAGS = -O0 -Wall -g
|
|
|
% : %.c
|
% : %.c
|
@/bin/rm -f $@
|
@/bin/rm -f $@
|
$(CC) -o $@ $(CFLAGS) $<
|
$(CC) -o $@ $(CFLAGS) $<
|
|
|
|
% : %.cpp
|
|
@/bin/rm -f $@
|
|
$(CPP) -o $@ $(CFLAGS) $<
|
|
|
all: $(PROGRAMS) or32-idecode
|
all: $(PROGRAMS) or32-idecode
|
|
|
# redundant stanza:
|
# redundant stanza:
|
loader: loader.c
|
loader: loader.c
|
$(CC) -o $@ $(CFLAGS) $<
|
$(CC) -o $@ $(CFLAGS) $<
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.