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

Subversion Repositories w11

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

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

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