Changeset 1099
- Timestamp:
- Jun 25, 2004, 1:28:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/Makefile
r1095 r1099 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1.1 8$ $Name: not supported by cvs2svn $6 ## $Date: 2004-06-25 07:28:04$5 ## $Revision: 1.19 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-06-25 23:28:31 $ 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 … … 43 39 tst_psImageStats00 \ 44 40 tst_psImageStats01 \ 45 tst_psImageStats02 \ 46 tst_psImageStats03 \ 47 tst_psMinimize00 \ 48 tst_psMinimize01 \ 49 tst_psMinimize02 \ 50 tst_psImageIO \ 51 tst_psVectorFFT \ 52 tst_psImageFFT 41 tst_psImageStats02 53 42 54 DEPENDENCIES = $(addprefix builddir/,$(addsuffix .d,$(TARGET))) 55 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET))) 43 all: $(TARGET) 56 44 57 all: builddir $(TARGET) 58 59 builddir: 60 mkdir builddir 61 62 include $(DEPENDENCIES) 45 tst_psMatrix01: tst_psMatrix01.o 46 tst_psMatrix02: tst_psMatrix02.o 47 tst_psMatrix03: tst_psMatrix03.o 48 tst_psMatrix04: tst_psMatrix04.o 49 tst_psMatrix05: tst_psMatrix05.o 50 tst_psMatrix06: tst_psMatrix06.o 51 tst_psMatrix07: tst_psMatrix07.o 52 tst_psStats00: tst_psStats00.o 53 tst_psStats01: tst_psStats01.o 54 tst_psStats02: tst_psStats02.o 55 tst_psStats03: tst_psStats03.o 56 tst_psStats04: tst_psStats04.o 57 tst_psStats05: tst_psStats05.o 58 tst_psStats06: tst_psStats06.o 59 tst_psStats07: tst_psStats07.o 60 tst_psStats08: tst_psStats08.o 61 tst_psStats09: tst_psStats09.o 62 tst_psHist00: tst_psHist00.o 63 tst_psHist01: tst_psHist01.o 64 tst_psHist02: tst_psHist02.o 65 tst_psFunc00: tst_psFunc00.o 66 tst_psFunc01: tst_psFunc01.o 67 tst_psFunc02: tst_psFunc02.o 68 tst_psFunc03: tst_psFunc03.o 69 tst_psImageStats00: tst_psImageStats00.o 70 tst_psImageStats01: tst_psImageStats01.o 71 tst_psImageStats02: tst_psImageStats02.o 72 tst_psImageStats03: tst_psImageStats03.o 63 73 64 74 clean: 65 75 @echo " Deleting executable and binary files for 'test/sysUtils'" 66 $(RM) $( OBJS) *.lint tmpImages/*.fits76 $(RM) $(TARGET) *.o *.lint 67 77 68 builddir/%.o : %.c78 %.o : %.c 69 79 $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $< 70 80 71 % : builddir/%.o72 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)81 % : %.o 82 $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS) 73 83 74 distclean: clean 84 ## NOTE: The distclean target does not remove the .o files. The Makefiles must 85 ## be repaired. 86 distclean: 75 87 $(RM) $(TARGET) 76 88 … … 78 90 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 79 91 80 builddir/%.d: %.c81 $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp82 sed 's|\($*\)\.o[ :]*|builddir\/\1.o $@ : |g' $@.tmp > $@83 $(RM) -f $@.tmp84 92 85 install: $(testbindir) $(testbindir)/verified $(TARGET)86 install $(TARGET) $(testbindir)87 install verified/*.stderr verified/*.stdout $(testbindir)/verified88 89 $(testbindir):90 mkdir -p $(testbindir)91 92 $(testbindir)/verified:93 mkdir -p $(testbindir)/verified94 95
Note:
See TracChangeset
for help on using the changeset viewer.
