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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orp/] [orp_soc/] [sw/] [utils/] [Makefile] - Rev 1765

Compare with Previous | Blame | View Log

PROGRAMS = bin2c bin2srec bin2flimg bin2hex
# NB: 'loader' not in that list

CC     = gcc
CFLAGS = -O2 -Wall

% : %.c
        @/bin/rm -f $@
        $(CC) -o $@ $(CFLAGS) $<

all: $(PROGRAMS)

# redundant stanza:
loader: loader.c
        $(CC) -o $@ $(CFLAGS) $<

clean:
        /bin/rm -f $(PROGRAMS) *~ *.bak

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.