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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [Makefile] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 wfjm
# $Id: Makefile 601 2014-11-07 22:44:43Z 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 27 wfjm
# 2014-11-07   601   1.3    add tcshcpp
9 19 wfjm
# 2013-02-01   479   1.2.2  correct so names for *w11* libs
10
# 2013-01-27   478   1.2.1  add librlw11(tpp)
11 10 wfjm
# 2011-03-20   372   1.1.1  renamed ..tcl -> ..tpp
12
# 2011-03-14   370   1.1.0  rename librtoolstcl -> librtcltools
13
# 2011-02-13   361   1.1    add realclean rule; add dirs and dependencies
14
# 2011-01-30   357   1.0    Initial version
15
#
16
DIRS  = librtools
17
DIRS += librlink
18 19 wfjm
DIRS += librw11
19 10 wfjm
DIRS += librtcltools
20
DIRS += librutiltpp
21
DIRS += librlinktpp
22 19 wfjm
DIRS += librwxxtpp
23 27 wfjm
DIRS += tclshcpp
24 10 wfjm
#
25
BUILDDIRS = $(DIRS:%=build-%)
26
CLEANDIRS = $(DIRS:%=clean-%)
27 22 wfjm
DISTCDIRS = $(DIRS:%=distc-%)
28 10 wfjm
#
29 12 wfjm
.PHONY: all clean distclean
30 10 wfjm
.PHONY: $(DIRS)
31
.PHONY: $(BUILDDIRS)
32
.PHONY: $(CLEANDIRS)
33 22 wfjm
.PHONY: $(DISTCDIRS)
34 10 wfjm
#
35
# build 'all' rule
36
#
37
all: $(BUILDDIRS)
38
#
39 19 wfjm
build-librw11       : build-librlink
40 10 wfjm
build-librlink      : build-librtools
41
build-librtcltools  : build-librtools
42
build-librutiltpp   : build-librtcltools
43 19 wfjm
build-librwxxtpp    : build-librw11  build-librtcltools
44 10 wfjm
build-librlinktpp   : build-librlink build-librtcltools
45
#
46
$(BUILDDIRS):
47
        $(MAKE) -C $(@:build-%=%)
48
#
49
# clean rule
50
#
51
clean: $(CLEANDIRS)
52
$(CLEANDIRS):
53
        $(MAKE) -C $(@:clean-%=%) clean
54
#
55 12 wfjm
# distclean rule
56 10 wfjm
#
57 22 wfjm
distclean: $(DISTCDIRS)
58
$(DISTCDIRS):
59 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.