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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [twotasks-1/] [Makefile] - Rev 226

Go to most recent revision | Compare with Previous | Blame | View Log

#
# Makefile for "twotasks-1", a tiny OS which runs two tasks
# (with fixed TLB entries and no page tables)
#

BUILD = ../../build

.PHONY:         all install run clean

all:            dump/dump task1/task1 task2/task2 os/twotasks-1.bin

install:        dump/dump task1/task1 task2/task2 os/twotasks-1.bin
                mkdir -p $(BUILD)/stdalone
                cp os/twotasks-1.bin $(BUILD)/stdalone
                cp os/twotasks-1.map $(BUILD)/stdalone
                cp os/twotasks-1.exo $(BUILD)/stdalone

run:            dump/dump task1/task1 task2/task2 os/twotasks-1.bin
                $(MAKE) -C os run

dump/dump:
                $(MAKE) -C dump

task1/task1:
                $(MAKE) -C task1

task2/task2:
                $(MAKE) -C task2

os/twotasks-1.bin:
                $(MAKE) -C os

clean:
                $(MAKE) -C dump clean
                $(MAKE) -C task1 clean
                $(MAKE) -C task2 clean
                $(MAKE) -C os clean
                rm -f *~

Go to most recent revision | 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.