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