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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/Makefile.in
ViewVC logotype

Diff of /branches/pure-cfg/test/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 584, Tue Mar 8 15:30:03 2011 UTC revision 585, Tue Mar 8 15:31:54 2011 UTC
# Line 3  Line 3 
3    
4  SHELL =         @SHELL@  SHELL =         @SHELL@
5  CC =            @CC@  CC =            @CC@
6    CFLAGS =        -g
7  DIDEROTC =      ../bin/diderotc  DIDEROTC =      ../bin/diderotc
8  DIDEROTC_FLAGS = -log  DIDEROTC_FLAGS = -log
9  UNU =           @TEEM_DIR@/bin/unu  UNU =           @TEEM_DIR@/bin/unu
10    
11    SRC_FILE =      vr-MIP-test.diderot
12    SRC_STEM =      $(shell basename $(SRC_FILE) .diderot)
13  IMAGE_FILE =    ../data/vox1.nrrd  IMAGE_FILE =    ../data/vox1.nrrd
14  IMAGE_STEM =    $(shell basename $(IMAGE_FILE) .nrrd)  IMAGE_STEM =    $(shell basename $(IMAGE_FILE) .nrrd)
15    
16  # command-line options for vr-MIP example  # command-line options for example
17  VR_OPTIONS =    -DdataFile=$(IMAGE_FILE)  VR_OPTIONS =
18    
19  INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include  INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include
20  LIBS =          -lteem ../src/lib/diderot-lib.o  LIBS =          -lteem ../src/lib/diderot-lib.o
# Line 22  Line 25 
25  $(IMAGE_STEM).png:      mip.txt  $(IMAGE_STEM).png:      mip.txt
26          $(UNU) reshape -i mip.txt -s 200 200 | $(UNU) quantize -b 8 -o $(IMAGE_STEM).png          $(UNU) reshape -i mip.txt -s 200 200 | $(UNU) quantize -b 8 -o $(IMAGE_STEM).png
27    
28  mip.txt:        vr-MIP  mip.txt:        $(SRC_STEM)
29          vr-MIP          $(SRC_STEM)
30    
31  vr-MIP:         vr-MIP.o ../src/lib/diderot-lib.o  $(SRC_STEM):            $(SRC_STEM).o ../src/lib/diderot-lib.o
32          $(CC) -o vr-MIP vr-MIP.o $(LDFLAGS)          $(CC) -o $(SRC_STEM) $(SRC_STEM).o $(LDFLAGS)
33    
34  vr-MIP.o:       vr-MIP.c  $(SRC_STEM).o:  $(SRC_STEM).c
35          $(CC) -c $(CFLAGS) $(CPPFLAGS) vr-MIP.c          $(CC) -c $(CFLAGS) $(CPPFLAGS) $(SRC_STEM).c
36    
37  vr-MIP.c:       vr-MIP.diderot  $(SRC_STEM).c:  $(SRC_STEM).diderot
38          $(DIDEROTC) $(DIDEROTC_FLAGS) $(VR_OPTIONS) vr-MIP.diderot          $(DIDEROTC) $(DIDEROTC_FLAGS) $(VR_OPTIONS) $(SRC_STEM).diderot

Legend:
Removed from v.584  
changed lines
  Added in v.585

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