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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [dskchk/] [Makefile] - Blame information for rev 100

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

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

powered by: WebSVN 2.1.0

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