Mercurial > hg > minc-tools
changeset 1016:3360d01230e8
Modified make targets to include libs, docs, test and programs.
Default build does not make docs anymore.
author | neelin <neelin> |
---|---|
date | Tue, 10 Dec 1996 14:28:46 +0000 |
parents | 6f88b68afde4 |
children | 51ec6a2164fd |
files | Makefile |
diffstat | 1 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile +++ b/Makefile @@ -7,9 +7,15 @@ include $(ROOT)/Make_machine_specific include $(ROOT)/Make_configuration -BUILD_SUBDIRS = libsrc $(FORTRAN_SUBDIR) test doc volume_io progs +LIB_SUBDIRS = libsrc $(FORTRAN_SUBDIR) volume_io + +PROG_SUBDIRS = progs -TEST_SUBDIRS = test $(FORTRAN_SUBDIR) +BUILD_SUBDIRS = $(LIB_SUBDIRS) $(PROG_SUBDIRS) + +DOC_SUBDIRS = doc + +TEST_SUBDIRS = testdir $(FORTRAN_SUBDIR) # -------------------------------------------------------------------- @@ -18,10 +24,19 @@ all build clean mostlyclean install: $(MAKE) 'TARGET=$@' 'SUBDIRS=$(BUILD_SUBDIRS)' subdirs -runtest : +libs: + $(MAKE) 'TARGET=build' 'SUBDIRS=$(LIB_SUBDIRS)' subdirs + +programs: + $(MAKE) 'TARGET=build' 'SUBDIRS=$(PROG_SUBDIRS)' subdirs + +docs: + $(MAKE) 'TARGET=build' 'SUBDIRS=$(DOC_SUBDIRS)' subdirs + +test : $(MAKE) 'TARGET=test' 'SUBDIRS=$(TEST_SUBDIRS)' subdirs -check : runtest +check : test subdirs : @for dir in $(SUBDIRS); \