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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [Makefile] - Diff between revs 18 and 23

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

Rev 18 Rev 23
Line 1... Line 1...
#
#
# Makefile for ECO32 project
# Makefile for ECO32 project
#
#
 
 
VERSION = 0.22
VERSION = 0.23
 
 
DIRS = doc binutils sim simtest fpga hwtests monitor disk stdalone
DIRS = binutils sim simtest fpga hwtests monitor disk stdalone
BUILD = `pwd`/build
BUILD = `pwd`/build
 
 
.PHONY:         all compiler builddir clean dist
.PHONY:         all doc compiler builddir clean dist
 
 
all:            compiler
all:            compiler
                for i in $(DIRS) ; do \
                for i in $(DIRS) ; do \
                  $(MAKE) -C $$i install ; \
                  $(MAKE) -C $$i install ; \
                done
                done
 
 
 
doc:
 
                $(MAKE) -C doc install
 
 
compiler:       builddir
compiler:       builddir
                $(MAKE) -C lcc BUILDDIR=$(BUILD)/bin \
                $(MAKE) -C lcc BUILDDIR=$(BUILD)/bin \
                  HOSTFILE=etc/eco32-netbsd.c lcc
                  HOSTFILE=etc/eco32-netbsd.c lcc
                $(MAKE) -C lcc BUILDDIR=$(BUILD)/bin all
                $(MAKE) -C lcc BUILDDIR=$(BUILD)/bin all
                rm -f $(BUILD)/bin/*.c
                rm -f $(BUILD)/bin/*.c
Line 28... Line 31...
 
 
clean:
clean:
                for i in $(DIRS) ; do \
                for i in $(DIRS) ; do \
                  $(MAKE) -C $$i clean ; \
                  $(MAKE) -C $$i clean ; \
                done
                done
 
                $(MAKE) -C doc clean
                rm -rf $(BUILD)
                rm -rf $(BUILD)
                rm -f *~
                rm -f *~
 
 
dist:           clean
dist:           clean
                (cd .. ; \
                (cd .. ; \

powered by: WebSVN 2.1.0

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