1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-25 20:16:00 +00:00
Files
wfjm.w11/tools/src/Makefile
Walter F.J. Mueller f6775f7d05 - interim release w11a_V0.55 (untagged)
- added xon/xoff (software flow control) support to serport library
- added test systems for serport verification
- use new serport stack in sys_w11a_* and sys_tst_rlink_* systems
2011-12-23 10:38:59 +00:00

52 lines
1.2 KiB
Makefile

# $Id: Makefile 431 2011-11-21 17:56:37Z mueller $
#
# Top level makefile, using the recipe found in
# http://www.lackof.org/taggart/hacking/make-example/
#
# Revision History:
# Date Rev Version Comment
# 2011-03-20 372 1.1.1 renamed ..tcl -> ..tpp
# 2011-03-14 370 1.1.0 rename librtoolstcl -> librtcltools
# 2011-02-13 361 1.1 add realclean rule; add dirs and dependencies
# 2011-01-30 357 1.0 Initial version
#
DIRS = librtools
DIRS += librlink
DIRS += librtcltools
DIRS += librutiltpp
DIRS += librlinktpp
#
BUILDDIRS = $(DIRS:%=build-%)
CLEANDIRS = $(DIRS:%=clean-%)
REALCDIRS = $(DIRS:%=distc-%)
#
.PHONY: all clean distclean
.PHONY: $(DIRS)
.PHONY: $(BUILDDIRS)
.PHONY: $(CLEANDIRS)
.PHONY: $(REALCDIRS)
#
# build 'all' rule
#
all: $(BUILDDIRS)
#
build-librlink : build-librtools
build-librtcltools : build-librtools
build-librutiltpp : build-librtcltools
build-librlinktpp : build-librlink build-librtcltools
#
$(BUILDDIRS):
$(MAKE) -C $(@:build-%=%)
#
# clean rule
#
clean: $(CLEANDIRS)
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
#
# distclean rule
#
distclean: $(REALCDIRS)
$(REALCDIRS):
$(MAKE) -C $(@:distc-%=%) distclean