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 566, Thu Feb 24 19:29:51 2011 UTC revision 575, Thu Mar 3 18:39:39 2011 UTC
# Line 1  Line 1 
1  # Makefile for Diderot test programs runtime code  # Makefile for Diderot test programs
2  #  #
3    
4  SHELL =         @SHELL@  SHELL =         @SHELL@
5  CC =            @CC@  CC =            @CC@
6  DIDEROTC =      ../bin/diderotc  DIDEROTC =      ../bin/diderotc
7  DIDEROTC_FLAGS = -log  DIDEROTC_FLAGS = -log
8    UNU =           @TEEM_DIR@/bin/unu
9    
10    IMAGE_FILE =    ../data/vox1.nrrd
11    IMAGE_STEM =    $(shell basename $(IMAGE_FILE) .nrrd)
12    
13  # command-line options for vr-MIP example  # command-line options for vr-MIP example
14  VR_OPTIONS =    -DdataFile=../data/vox1.nrrd  VR_OPTIONS =    -DdataFile=$(IMAGE_FILE)
15    
16  INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include  INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include
17  LIBS =          -lteem  LIBS =          -lteem ../src/lib/diderot-lib.o
18    
19  CPPFLAGS +=     $(INCLUDE_PATHS)  CPPFLAGS +=     $(INCLUDE_PATHS)
20  LDFLAGS =       -L@TEEM_DIR@/lib $(LIBS)  LDFLAGS =       -L@TEEM_DIR@/lib $(LIBS)
21    
22  vr-MIP:         vr-MIP.o  $(IMAGE_STEM).png:      $(IMAGE_STEM).txt
23          $(CC) -o vr-MIP $(LDFLAGS)          $(UNU) reshape -i $(IMAGE_STEM).txt -s 200 200 | $(UNU) quantize -b 8 -o $(IMAGE_STEM).png
24    
25    $(IMAGE_STEM).txt:      vr-MIP
26            vr-MIP
27    
28    vr-MIP:         vr-MIP.o ../src/lib/diderot-lib.o
29            $(CC) -o vr-MIP vr-MIP.o $(LDFLAGS)
30    
31  vr-MIP.o:       vr-MIP.c  vr-MIP.o:       vr-MIP.c
32          $(CC) -c $(CFLAGS) $(CPPFLAGS) vr-MIP.c          $(CC) -c $(CFLAGS) $(CPPFLAGS) vr-MIP.c

Legend:
Removed from v.566  
changed lines
  Added in v.575

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