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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [tests/] [test_004/] [Makefile] - Blame information for rev 304

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

Line No. Rev Author Line
1 295 hellwig
#
2
# Makefile to build a test
3
#
4
 
5
BUILD = ../../../build
6
 
7
ROM_SIZE_KB = 64
8
 
9
SRC = $(wildcard *.s)
10
OBJ = $(patsubst %.s,%.o,$(SRC))
11
BIN = $(patsubst %.s,%.bin,$(SRC))
12
DAT = $(patsubst %.s,%.dat,$(SRC))
13
 
14
all:            $(DAT)
15
 
16
install:        $(DAT)
17
 
18
$(DAT):         $(BIN)
19
                $(BUILD)/bin/bin2dat $(BIN) $(DAT) $(ROM_SIZE_KB)
20
 
21
$(BIN):         $(OBJ)
22
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o $(BIN) $(OBJ)
23
 
24
$(OBJ):         $(SRC)
25
                $(BUILD)/bin/as -o $(OBJ) $(SRC)
26
 
27
clean:
28
                rm -f *~ $(OBJ) $(BIN) $(DAT)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.