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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 574 - (view) (download)

1 : jhr 573 # Makefile for Diderot test programs
2 : jhr 566 #
3 :    
4 :     SHELL = @SHELL@
5 :     CC = @CC@
6 :     DIDEROTC = ../bin/diderotc
7 :     DIDEROTC_FLAGS = -log
8 : jhr 574 UNU = $(TEEM_DIR)/bin/unu
9 : jhr 566
10 : jhr 573 IMAGE_FILE = ../data/vox1.nrrd
11 :     IMAGE_STEM = $(shell basename $(IMAGE_FILE) .nrrd)
12 :    
13 : jhr 566 # command-line options for vr-MIP example
14 : jhr 573 VR_OPTIONS = -DdataFile=$(IMAGE_FILE)
15 : jhr 566
16 :     INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include
17 : jhr 572 LIBS = -lteem ../src/lib/diderot-lib.o
18 : jhr 566
19 :     CPPFLAGS += $(INCLUDE_PATHS)
20 :     LDFLAGS = -L@TEEM_DIR@/lib $(LIBS)
21 :    
22 : jhr 574 $(IMAGE_STEM).png: $(IMAGE_STEM).txt
23 :     $(UNU) reshape -i $(IMAGE_STEM).txt -s 200 200 | uniquantize -b 8 -o $(IMAGE_STEM).png
24 :    
25 :     $(IMAGE_STEM).txt: vr-MIP
26 :     vr-MIP
27 :    
28 : jhr 572 vr-MIP: vr-MIP.o ../src/lib/diderot-lib.o
29 :     $(CC) -o vr-MIP vr-MIP.o $(LDFLAGS)
30 : jhr 566
31 :     vr-MIP.o: vr-MIP.c
32 :     $(CC) -c $(CFLAGS) $(CPPFLAGS) vr-MIP.c
33 :    
34 :     vr-MIP.c: vr-MIP.diderot
35 :     $(DIDEROTC) $(DIDEROTC_FLAGS) $(VR_OPTIONS) vr-MIP.diderot

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