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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [Makefile] - Blame information for rev 16

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

Line No. Rev Author Line
1 15 wfjm
# $Id: Makefile 431 2011-11-21 17:56:37Z mueller $
2 10 wfjm
#
3
# Top level makefile, using the recipe found in
4
#    http://www.lackof.org/taggart/hacking/make-example/
5
#
6
#  Revision History:
7
# Date         Rev Version  Comment
8
# 2011-03-20   372   1.1.1  renamed ..tcl -> ..tpp
9
# 2011-03-14   370   1.1.0  rename librtoolstcl -> librtcltools
10
# 2011-02-13   361   1.1    add realclean rule; add dirs and dependencies
11
# 2011-01-30   357   1.0    Initial version
12
#
13
DIRS  = librtools
14
DIRS += librlink
15
DIRS += librtcltools
16
DIRS += librutiltpp
17
DIRS += librlinktpp
18
#
19
BUILDDIRS = $(DIRS:%=build-%)
20
CLEANDIRS = $(DIRS:%=clean-%)
21 12 wfjm
REALCDIRS = $(DIRS:%=distc-%)
22 10 wfjm
#
23 12 wfjm
.PHONY: all clean distclean
24 10 wfjm
.PHONY: $(DIRS)
25
.PHONY: $(BUILDDIRS)
26
.PHONY: $(CLEANDIRS)
27
.PHONY: $(REALCDIRS)
28
#
29
# build 'all' rule
30
#
31
all: $(BUILDDIRS)
32
#
33
build-librlink      : build-librtools
34
build-librtcltools  : build-librtools
35
build-librutiltpp   : build-librtcltools
36
build-librlinktpp   : build-librlink build-librtcltools
37
#
38
$(BUILDDIRS):
39
        $(MAKE) -C $(@:build-%=%)
40
#
41
# clean rule
42
#
43
clean: $(CLEANDIRS)
44
$(CLEANDIRS):
45
        $(MAKE) -C $(@:clean-%=%) clean
46
#
47 12 wfjm
# distclean rule
48 10 wfjm
#
49 12 wfjm
distclean: $(REALCDIRS)
50 10 wfjm
$(REALCDIRS):
51 12 wfjm
        $(MAKE) -C $(@:distc-%=%) distclean

powered by: WebSVN 2.1.0

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