URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [fpga/] [tests/] [test_090/] [Makefile] - Rev 295
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)