Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/ein16/Makefile.in
ViewVC logotype

View of /branches/ein16/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3682 - (download) (annotate)
Thu Feb 18 20:13:18 2016 UTC (3 years, 5 months ago) by cchiw
File size: 2067 byte(s)
creating stable branch that represents ein ir
# Makefile for diderot system
#
# This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
#
# COPYRIGHT (c) 2015 The University of Chicago
# All rights reserved.
#

SHELL =		@SHELL@
@SET_MAKE@

INSTALL =	@INSTALL@

BUILD_DIRS =	src/compiler \
		src/lib/build

.PHONY:		help build local-install \
		clean local-distclean local-devclean

help:
	@echo "This Makefile supports the following targets:"
	@echo "  help          -- print this message."
	@echo "  build         -- build Diderot tools and libraries"
	@echo "  local-install -- install Diderot tools and libraries in "
	@echo "                   @DIDEROT_ROOT@/bin"
	@echo "  clean         -- remove intermediate files generated during building"
	@echo "  distclean     -- remove files generated during configuration"
	@echo "                   and building; the resulting tree has the same"
	@echo "                   files as the distribution."
	@echo "The following additional targets are primarily for developers:"
	@echo "  devclean      -- remove everything that is not part of the SVN"
	@echo "                   repository."

local-install:
	for dir in $(BUILD_DIRS); do \
	  (cd $$dir && $(MAKE) local-install) || exit $$?; \
	done
	mkdir -p include/Diderot
	(cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?

build:
	for dir in $(BUILD_DIRS); do \
	  (cd $$dir && $(MAKE) build) || exit $$?; \
	done

doc:
	(cd doc; $(MAKE))

#################### Cleanup ####################

CLEAN_SUBDIRS =		$(BUILD_DIRS) test/MIP test/probe doc

CLEAN_FILES =		rtest/tests/*/out.nrrd

DISTCLEAN_FILES +=	Makefile config.status config.log \
			autom4te*.cache \
			bin \
			lib \
			include \
                        rtest/scripts/run.sh \
                        rtest/scripts/run-one.sh \
			rtest/log.* \
			rtest/report.* \
			src/include/Diderot/config.h \
                        src/compiler/gen/file2str/file2str.sh \
			doc/man/Makefile \
			src/clinfo/Makefile

DEVCLEAN_FILES =	configure \
			config/config_h.in

include @DIDEROT_MKDIR@/clean-rules.gmk

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0