URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 18 |
Rev 100 |
Line 1... |
Line 1... |
BUILD = ../../../build
|
BUILD = ../../../build
|
|
|
SRC = start.s main.c end.s
|
SRC = start.s main.c end.s
|
BIN = onetask.bin
|
BIN = onetask.bin
|
MAP = onetask.map
|
MAP = onetask.map
|
|
EXO = onetask.exo
|
|
|
all: $(BIN)
|
all: $(BIN) $(EXO)
|
|
|
run: $(BIN)
|
run: $(BIN)
|
$(BUILD)/bin/sim -i -t 1 -l $(BIN)
|
$(BUILD)/bin/sim -i -t 1 -l $(BIN) -a 0x10000
|
|
|
|
$(EXO): $(BIN)
|
|
$(BUILD)/bin/bin2exo -S2 0x10000 $(BIN) $(EXO)
|
|
|
$(BIN): $(SRC) task.dump
|
$(BIN): $(SRC) task.dump
|
$(BUILD)/bin/lcc -A -Wo-kernel \
|
$(BUILD)/bin/lcc -A -Wo-kernel \
|
-Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
|
-Wl-m -Wl$(MAP) -o $(BIN) $(SRC)
|
|
|
task.dump:
|
task.dump:
|
../dump/dump ../task/task task.dump
|
../dump/dump ../task/task task.dump
|
|
|
clean:
|
clean:
|
rm -f *~ task.dump $(BIN) $(MAP)
|
rm -f *~ task.dump $(BIN) $(MAP) $(EXO)
|
rm -f *~ task.dump $(BIN) $(MAP) $(EXO)
|
rm -f *~ task.dump $(BIN) $(MAP) $(EXO)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.