# Makefile # # COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu) # All rights reserved. # # The Makefile for building all versions of the Diderot runtime system # # @configure_input@ # SHELL = @SHELL@ @SET_MAKE@ SUBDIRS = $(wildcard rt-*) .PHONY: build local-install install build: for dir in $(SUBDIRS) ; do \ (cd $$dir; $(MAKE) build) || exit $$?; \ done local-install: $(INSTALL) -d $(LIBDIR) for dir in $(SUBDIRS); do \ (cd $$dir && $(MAKE) local-install) || exit $$?; \ done install: $(INSTALL) -d $(INSTALL_LIBDIR) for dir in $(SUBDIRS); do \ (cd $$dir && $(MAKE) install) || exit $$?; \ done #################### Cleanup #################### CLEAN_SUBDIRS = $(SUBDIRS) DISTCLEAN_FILES = $(SUBDIRS) mk/build.gmk DEVCLEAN_FILES = include @DIDEROT_MKDIR@/clean-rules.gmk