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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [Makefile] - Diff between revs 19 and 22

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

Rev 19 Rev 22
Line 1... Line 1...
# $Id: Makefile 479 2013-02-01 18:09:49Z mueller $
# $Id: Makefile 530 2013-08-09 21:25:04Z mueller $
#
#
# Top level makefile, using the recipe found in
# Top level makefile, using the recipe found in
#    http://www.lackof.org/taggart/hacking/make-example/
#    http://www.lackof.org/taggart/hacking/make-example/
#
#
#  Revision History:
#  Revision History:
Line 20... Line 20...
DIRS += librlinktpp
DIRS += librlinktpp
DIRS += librwxxtpp
DIRS += librwxxtpp
#
#
BUILDDIRS = $(DIRS:%=build-%)
BUILDDIRS = $(DIRS:%=build-%)
CLEANDIRS = $(DIRS:%=clean-%)
CLEANDIRS = $(DIRS:%=clean-%)
REALCDIRS = $(DIRS:%=distc-%)
DISTCDIRS = $(DIRS:%=distc-%)
#
#
.PHONY: all clean distclean
.PHONY: all clean distclean
.PHONY: $(DIRS)
.PHONY: $(DIRS)
.PHONY: $(BUILDDIRS)
.PHONY: $(BUILDDIRS)
.PHONY: $(CLEANDIRS)
.PHONY: $(CLEANDIRS)
.PHONY: $(REALCDIRS)
.PHONY: $(DISTCDIRS)
#
#
# build 'all' rule
# build 'all' rule
#
#
all: $(BUILDDIRS)
all: $(BUILDDIRS)
#
#
Line 50... Line 50...
$(CLEANDIRS):
$(CLEANDIRS):
        $(MAKE) -C $(@:clean-%=%) clean
        $(MAKE) -C $(@:clean-%=%) clean
#
#
# distclean rule
# distclean rule
#
#
distclean: $(REALCDIRS)
distclean: $(DISTCDIRS)
$(REALCDIRS):
$(DISTCDIRS):
        $(MAKE) -C $(@:distc-%=%) distclean
        $(MAKE) -C $(@:distc-%=%) distclean

powered by: WebSVN 2.1.0

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