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

Subversion Repositories w11

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

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

Line No. Rev Author Line
1 12 wfjm
# $Id: Makefile 401 2011-07-31 21:02:33Z 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 12 wfjm
# 2011-07-31   401   1.2    rename realclean->distclean
9 10 wfjm
# 2011-03-20   372   1.1.1  renamed ..tcl -> ..tpp
10
# 2011-03-14   370   1.1.0  rename librtoolstcl -> librtcltools
11
# 2011-02-13   361   1.1    add realclean rule; add dirs and dependencies
12
# 2011-01-30   357   1.0    Initial version
13
#
14
DIRS  = librtools
15
DIRS += librlink
16
DIRS += librtcltools
17
DIRS += librutiltpp
18
DIRS += librlinktpp
19
#
20
BUILDDIRS = $(DIRS:%=build-%)
21
CLEANDIRS = $(DIRS:%=clean-%)
22 12 wfjm
REALCDIRS = $(DIRS:%=distc-%)
23 10 wfjm
#
24 12 wfjm
.PHONY: all clean distclean
25 10 wfjm
.PHONY: $(DIRS)
26
.PHONY: $(BUILDDIRS)
27
.PHONY: $(CLEANDIRS)
28
.PHONY: $(REALCDIRS)
29
#
30
# build 'all' rule
31
#
32
all: $(BUILDDIRS)
33
#
34
build-librlink      : build-librtools
35
build-librtcltools  : build-librtools
36
build-librutiltpp   : build-librtcltools
37
build-librlinktpp   : build-librlink build-librtcltools
38
#
39
$(BUILDDIRS):
40
        $(MAKE) -C $(@:build-%=%)
41
#
42
# clean rule
43
#
44
clean: $(CLEANDIRS)
45
$(CLEANDIRS):
46
        $(MAKE) -C $(@:clean-%=%) clean
47
#
48 12 wfjm
# distclean rule
49 10 wfjm
#
50 12 wfjm
distclean: $(REALCDIRS)
51 10 wfjm
$(REALCDIRS):
52 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.