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 585 - (view) (download)

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

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