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

SCM Repository

[diderot] Annotation of /branches/lamont/Makefile.in
ViewVC logotype

Annotation of /branches/lamont/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

1 : jhr 321 # Makefile for diderot system
2 :     #
3 : jhr 3349 # This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     #
5 :     # COPYRIGHT (c) 2015 The University of Chicago
6 : jhr 321 # All rights reserved.
7 :     #
8 :    
9 :     SHELL = @SHELL@
10 :     @SET_MAKE@
11 :    
12 :     BUILD_DIRS = src/dnorm \
13 : jhr 1116 src/compiler \
14 : jhr 1232 src/lib/build
15 : jhr 321
16 : jhr 2075 # add OpenCL specific targets
17 :     #
18 :     ifeq (@CL_ENABLED@,true)
19 :     BUILD_DIRS += src/clinfo
20 :     endif
21 :    
22 : jhr 321 .PHONY: help build local-install \
23 :     clean local-distclean local-devclean
24 :    
25 :     help:
26 :     @echo "This Makefile supports the following targets:"
27 :     @echo " help -- print this message."
28 :     @echo " build -- build Diderot tools and libraries"
29 :     @echo " local-install -- install Diderot tools and libraries in "
30 :     @echo " @DIDEROT_ROOT@/bin"
31 :     @echo " clean -- remove intermediate files generated during building"
32 :     @echo " distclean -- remove files generated during configuration"
33 :     @echo " and building; the resulting tree has the same"
34 :     @echo " files as the distribution."
35 :     @echo "The following additional targets are primarily for developers:"
36 : glk 1306 @echo " devclean -- remove everything that is not part of the SVN"
37 : jhr 321 @echo " repository."
38 :    
39 :     local-install:
40 :     for dir in $(BUILD_DIRS); do \
41 :     (cd $$dir && $(MAKE) local-install) || exit $$?; \
42 :     done
43 :    
44 :     build:
45 :     for dir in $(BUILD_DIRS); do \
46 :     (cd $$dir && $(MAKE) build) || exit $$?; \
47 :     done
48 :    
49 : jhr 1640 doc:
50 :     (cd doc; $(MAKE))
51 :    
52 : jhr 321 #################### Cleanup ####################
53 :    
54 : jhr 1640 CLEAN_SUBDIRS = $(BUILD_DIRS) test/MIP test/probe doc
55 : jhr 321
56 : jhr 2298 CLEAN_FILES = rtest/tests/*/out.nrrd
57 : jhr 321
58 : jhr 1116 DISTCLEAN_FILES += Makefile config.status config.log \
59 : jhr 321 autom4te*.cache \
60 : jhr 1232 bin \
61 :     lib \
62 : jhr 1941 rtest/scripts/run.sh \
63 :     rtest/scripts/run-one.sh \
64 : jhr 2298 rtest/log.* \
65 :     rtest/report.* \
66 : jhr 1640 src/include/Diderot/config.h \
67 :     src/compiler/gen/file2str/file2str.sh
68 : jhr 321
69 : jhr 1232 DEVCLEAN_FILES = configure \
70 :     config/config_h.in
71 : jhr 321
72 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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