URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [stdalone/] [twotasks-1/] [os/] [Makefile] - Rev 198
Go to most recent revision | Compare with Previous | Blame | View Log
BUILD = ../../../build
SRC = start.s main.c end.s
BIN = twotasks-1.bin
MAP = twotasks-1.map
EXO = twotasks-1.exo
all: $(BIN) $(EXO)
run: $(BIN)
$(BUILD)/bin/sim -i -t 1 -l $(BIN) -a 0x10000
$(EXO): $(BIN)
$(BUILD)/bin/bin2exo -S2 0x10000 $(BIN) $(EXO)
$(BIN): $(SRC) task1.dump task2.dump
$(BUILD)/bin/lcc -A -Wo-kernel \
-Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
task1.dump:
../dump/dump ../task1/task1 task1.dump
task2.dump:
../dump/dump ../task2/task2 task2.dump
clean:
rm -f *~ task1.dump task2.dump $(BIN) $(MAP) $(EXO)
Go to most recent revision | Compare with Previous | Blame | View Log