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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [tests/] [test_090/] [Makefile] - Rev 314

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

#
# Makefile to build a test
#

BUILD = ../../../build

ROM_SIZE_KB = 64

SRC = $(wildcard *.s)
OBJ = $(patsubst %.s,%.o,$(SRC))
BIN = $(patsubst %.s,%.bin,$(SRC))
DAT = $(patsubst %.s,%.dat,$(SRC))

all:            $(DAT)

install:        $(DAT)

$(DAT):         $(BIN)
                $(BUILD)/bin/bin2dat $(BIN) $(DAT) $(ROM_SIZE_KB)

$(BIN):         $(OBJ)
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o $(BIN) $(OBJ)

$(OBJ):         $(SRC)
                $(BUILD)/bin/as -o $(OBJ) $(SRC)

clean:
                rm -f *~ $(OBJ) $(BIN) $(DAT)

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.