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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [twotasks-1/] [os/] [Makefile] - Rev 245

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 -s 1 -t 0 -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)

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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