1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-25 12:15:40 +00:00
Files
wfjm.w11/tools/src/Makefile
Walter F.J. Mueller 3f455d5236 - interim release w11a_V0.532 (untagged)
- re-organize modules 'human I/O' interface on Digilent boards
- add test designs for 'human I/O' interface for atlys,nexys2, and s3board
- small updates in crc8 and dcm areas
- with one exception all vhdl sources use now numeric_std
2011-11-20 12:31:43 +00:00

55 lines
1.3 KiB
Makefile

# $Id: Makefile 401 2011-07-31 21:02:33Z mueller $
#
# Top level makefile, using the recipe found in
# http://www.lackof.org/taggart/hacking/make-example/
#
# Revision History:
# Date Rev Version Comment
# 2011-07-31 401 1.2 rename realclean->distclean; add librusbtpp
# 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
DIRS += librusbtpp
#
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
build-librusbtpp : build-librtcltools
#
$(BUILDDIRS):
$(MAKE) -C $(@:build-%=%)
#
# clean rule
#
clean: $(CLEANDIRS)
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
#
# distclean rule
#
distclean: $(REALCDIRS)
$(REALCDIRS):
$(MAKE) -C $(@:distc-%=%) distclean