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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [twotasks-1/] [os/] [Makefile] - Diff between revs 18 and 101

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 18 Rev 101
Line 1... Line 1...
BUILD = ../../../build
BUILD = ../../../build
 
 
SRC = start.s main.c end.s
SRC = start.s main.c end.s
BIN = twotasks-1.bin
BIN = twotasks-1.bin
MAP = twotasks-1.map
MAP = twotasks-1.map
 
EXO = twotasks-1.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) task1.dump task2.dump
$(BIN):         $(SRC) task1.dump task2.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)
 
 
Line 18... Line 22...
 
 
task2.dump:
task2.dump:
                ../dump/dump ../task2/task2 task2.dump
                ../dump/dump ../task2/task2 task2.dump
 
 
clean:
clean:
                rm -f *~ task1.dump task2.dump $(BIN) $(MAP)
                rm -f *~ task1.dump task2.dump $(BIN) $(MAP) $(EXO)
                rm -f *~ task1.dump task2.dump $(BIN) $(MAP) $(EXO)
                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.