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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [twotasks-2/] [os/] [Makefile] - Blame information for rev 318

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-2.bin
5
MAP = twotasks-2.map
6 102 hellwig
EXO = twotasks-2.exo
7 18 hellwig
 
8 102 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 102 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 102 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.