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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [dskchk2/] [dskchk2/] [Makefile] - Blame information for rev 317

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

Line No. Rev Author Line
1 198 hellwig
#
2
# Makefile for "dskchk2", a program to check the hard disk interface
3
#
4
 
5
BUILD = ../../../build
6
 
7
SRC = start.s main.c iolib.c biolib.c end.s
8
BIN = dskchk2.bin
9
MAP = dskchk2.map
10
EXO = dskchk2.exo
11
 
12
.PHONY:         all install run clean
13
 
14
all:            $(BIN) $(EXO)
15
 
16
install:        $(BIN) $(EXO)
17
                mkdir -p $(BUILD)/stdalone
18
                cp $(BIN) $(BUILD)/stdalone
19
                cp $(MAP) $(BUILD)/stdalone
20
                cp $(EXO) $(BUILD)/stdalone
21
 
22
run:            $(BIN)
23 245 hellwig
                $(BUILD)/bin/sim -i -s 1 -t 0 -l $(BIN) -a 0x10000 \
24 198 hellwig
                  -d ../disk.img
25
 
26
$(EXO):         $(BIN)
27
                $(BUILD)/bin/bin2exo -S2 0x10000 $(BIN) $(EXO)
28
 
29
$(BIN):         $(SRC)
30
                $(BUILD)/bin/lcc -A -Wo-kernel \
31
                  -Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
32
 
33
clean:
34
                rm -f *~ $(BIN) $(MAP) $(EXO)

powered by: WebSVN 2.1.0

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