Changeset 1109 for trunk/psLib/test/dataManip/Makefile
- Timestamp:
- Jun 25, 2004, 5:05:13 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/Makefile
r1107 r1109 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1.2 0$ $Name: not supported by cvs2svn $6 ## $Date: 2004-06-26 0 1:12:22$5 ## $Revision: 1.21 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-06-26 03:04:44 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 9 ## 10 10 ############################################################################### 11 12 ifndef prefix 13 export prefix=$(shell cd ../..;pwd) 14 endif 11 15 12 16 include ../../src/Makefile.Globals … … 37 41 tst_psFunc00 \ 38 42 tst_psFunc01 \ 39 tst_psMinimize00 \40 43 tst_psImageStats00 \ 41 44 tst_psImageStats01 \ 42 tst_psImageStats02 45 tst_psImageStats02 \ 46 tst_psImageStats03 \ 47 tst_psMinimize00 \ 48 tst_psImageIO \ 49 tst_psVectorFFT \ 50 tst_psImageFFT 43 51 44 all: $(TARGET) 52 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET))) 53 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 45 54 46 tst_psMatrix01: tst_psMatrix01.o 47 tst_psMatrix02: tst_psMatrix02.o 48 tst_psMatrix03: tst_psMatrix03.o 49 tst_psMatrix04: tst_psMatrix04.o 50 tst_psMatrix05: tst_psMatrix05.o 51 tst_psMatrix06: tst_psMatrix06.o 52 tst_psMatrix07: tst_psMatrix07.o 53 tst_psStats00: tst_psStats00.o 54 tst_psStats01: tst_psStats01.o 55 tst_psStats02: tst_psStats02.o 56 tst_psStats03: tst_psStats03.o 57 tst_psStats04: tst_psStats04.o 58 tst_psStats05: tst_psStats05.o 59 tst_psStats06: tst_psStats06.o 60 tst_psStats07: tst_psStats07.o 61 tst_psStats08: tst_psStats08.o 62 tst_psStats09: tst_psStats09.o 63 tst_psHist00: tst_psHist00.o 64 tst_psHist01: tst_psHist01.o 65 tst_psHist02: tst_psHist02.o 66 tst_psFunc00: tst_psFunc00.o 67 tst_psFunc01: tst_psFunc01.o 68 tst_psFunc02: tst_psFunc02.o 69 tst_psFunc03: tst_psFunc03.o 70 tst_psMinimize00: tst_psMinimize00.o 71 tst_psImageStats00: tst_psImageStats00.o 72 tst_psImageStats01: tst_psImageStats01.o 73 tst_psImageStats02: tst_psImageStats02.o 74 tst_psImageStats03: tst_psImageStats03.o 55 all: builddir $(TARGET) 56 57 builddir: 58 mkdir builddir 59 60 include $(DEPENDENCIES) 75 61 76 62 clean: 77 @echo " Deleting executable and binary files for 'test/ sysUtils'"78 $(RM) $( TARGET) *.o *.lint63 @echo " Deleting executable and binary files for 'test/dataManip'" 64 $(RM) $(OBJS) *.lint tmpImages/*.fits 79 65 80 %.o : %.c66 builddir/%.o : %.c 81 67 $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $< 82 68 83 % : %.o84 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas$(LDFLAGS)69 % : builddir/%.o 70 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS) 85 71 86 ## NOTE: The distclean target does not remove the .o files. The Makefiles must 87 ## be repaired. 88 distclean: 72 distclean: clean 89 73 $(RM) $(TARGET) 90 74 … … 92 76 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 93 77 78 cleandependencies: 79 $(RM) $(DEPENDENCIES) 80 81 builddir/%.d: %.c 82 $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@ 94 83 84 install: $(testbindir) $(testbindir)/verified $(TARGET) 85 install $(TARGET) $(testbindir) 86 install verified/*.stderr verified/*.stdout $(testbindir)/verified 87 88 $(testbindir): 89 mkdir -p $(testbindir) 90 91 $(testbindir)/verified: 92 mkdir -p $(testbindir)/verified 93 94
Note:
See TracChangeset
for help on using the changeset viewer.
