SCM Repository
[diderot] / branches / pure-cfg / test / Makefile.in |
View of /branches/pure-cfg/test/Makefile.in
Parent Directory
|
Revision Log
Revision 663 -
(download)
(annotate)
Tue Mar 22 04:11:45 2011 UTC (11 years, 3 months ago) by glk
File size: 1014 byte(s)
Tue Mar 22 04:11:45 2011 UTC (11 years, 3 months ago) by glk
File size: 1014 byte(s)
not everyone has . in their path
# Makefile for Diderot test programs # SHELL = @SHELL@ CC = @CC@ CFLAGS = -g DIDEROTC = ../bin/diderotc DIDEROTC_FLAGS = -log UNU = @TEEM_DIR@/bin/unu SRC_FILE = vr-MIP-test.diderot SRC_STEM = $(shell basename $(SRC_FILE) .diderot) IMAGE_FILE = ../data/vox1.nrrd IMAGE_STEM = $(shell basename $(IMAGE_FILE) .nrrd) # command-line options for example VR_OPTIONS = INCLUDE_PATHS = -I../src/include -I@TEEM_DIR@/include LIBS = -lteem ../src/lib/diderot-lib.o CPPFLAGS += $(INCLUDE_PATHS) LDFLAGS = -L@TEEM_DIR@/lib $(LIBS) $(IMAGE_STEM).png: mip.txt $(UNU) reshape -i mip.txt -s 200 200 | $(UNU) 2op exists - -0 | $(UNU) quantize -b 8 -o $(IMAGE_STEM).png mip.txt: $(SRC_STEM) ./$(SRC_STEM) $(SRC_STEM): $(SRC_STEM).o ../src/lib/diderot-lib.o $(CC) -o $(SRC_STEM) $(SRC_STEM).o $(LDFLAGS) $(SRC_STEM).o: $(SRC_STEM).c $(CC) -c $(CFLAGS) $(CPPFLAGS) $(SRC_STEM).c $(SRC_STEM).c: $(SRC_STEM).diderot $(DIDEROTC) $(DIDEROTC_FLAGS) $(VR_OPTIONS) $(SRC_STEM).diderot cat extra-code.c >> $(SRC_STEM).c
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |