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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [twotasks-1/] [os/] [Makefile] - Blame information for rev 167

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 = twotasks-1.bin
5
MAP = twotasks-1.map
6 101 hellwig
EXO = twotasks-1.exo
7 18 hellwig
 
8 101 hellwig
all:            $(BIN) $(EXO)
9 18 hellwig
 
10
run:            $(BIN)
11 101 hellwig
                $(BUILD)/bin/sim -i -t 1 -l $(BIN) -a 0x10000
12 18 hellwig
 
13 101 hellwig
$(EXO):         $(BIN)
14
                $(BUILD)/bin/bin2exo -S2 0x10000 $(BIN) $(EXO)
15
 
16 18 hellwig
$(BIN):         $(SRC) task1.dump task2.dump
17
                $(BUILD)/bin/lcc -A -Wo-kernel \
18
                  -Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
19
 
20
task1.dump:
21
                ../dump/dump ../task1/task1 task1.dump
22
 
23
task2.dump:
24
                ../dump/dump ../task2/task2 task2.dump
25
 
26
clean:
27 101 hellwig
                rm -f *~ task1.dump task2.dump $(BIN) $(MAP) $(EXO)

powered by: WebSVN 2.1.0

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