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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [onetask/] [os/] [Makefile] - Blame information for rev 272

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

Line No. Rev Author Line
1 18 hellwig
BUILD = ../../../build
2
 
3
SRC = start.s main.c end.s
4
BIN = onetask.bin
5
MAP = onetask.map
6 100 hellwig
EXO = onetask.exo
7 18 hellwig
 
8 100 hellwig
all:            $(BIN) $(EXO)
9 18 hellwig
 
10
run:            $(BIN)
11 245 hellwig
                $(BUILD)/bin/sim -i -s 1 -t 0 -l $(BIN) -a 0x10000
12 18 hellwig
 
13 100 hellwig
$(EXO):         $(BIN)
14
                $(BUILD)/bin/bin2exo -S2 0x10000 $(BIN) $(EXO)
15
 
16 18 hellwig
$(BIN):         $(SRC) task.dump
17
                $(BUILD)/bin/lcc -A -Wo-kernel \
18
                  -Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
19
 
20
task.dump:
21
                ../dump/dump ../task/task task.dump
22
 
23
clean:
24 100 hellwig
                rm -f *~ task.dump $(BIN) $(MAP) $(EXO)

powered by: WebSVN 2.1.0

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