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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [utils/] [Makefile] - Rev 37

Go to most recent revision | 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) or32-idecode

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

.PHONY or32-idecode:
or32-idecode:
        $(MAKE) -C or32-idecode

clean:
        /bin/rm -f $(PROGRAMS) *~ *.bak
        $(MAKE) -C ./or32-idecode clean

Go to most recent revision | 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.