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