IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 12, 2004, 3:37:59 PM (22 years ago)
Author:
desonia
Message:

removed the dependency creation stuff, as George hated it ALOT!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/Makefile

    r1187 r1212  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.32 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-07-07 02:39:21 $
     5##  $Revision: 1.33 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-07-13 01:37:59 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1010###############################################################################
    1111
     12ifndef prefix
     13    export prefix=$(shell cd ../..;pwd)
     14endif
     15
    1216include ../../src/Makefile.Globals
    1317
    14 PSLIB_INCL_DIR = ../../include
     18CFLAGS := -I../../include $(CFLAGS)
     19LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS)
    1520
    16 PSLIB_LIB_DIR = ../../lib
     21TARGET = \
     22tst_psFunc00 \
     23tst_psFunc01 \
     24tst_psHist00 \
     25tst_psHist01 \
     26tst_psHist02 \
     27tst_psImageFFT \
     28tst_psImageIO \
     29tst_psImageManip \
     30tst_psImageStats00 \
     31tst_psImageStats01 \
     32tst_psImageStats02 \
     33tst_psImageStats03 \
     34tst_psMatrix01 \
     35tst_psMatrix02 \
     36tst_psMatrix03 \
     37tst_psMatrix04 \
     38tst_psMatrix05 \
     39tst_psMatrix06 \
     40tst_psMatrix07 \
     41tst_psMatrixVectorArithmetic01 \
     42tst_psMatrixVectorArithmetic02 \
     43tst_psMatrixVectorArithmetic03 \
     44tst_psMinimize00 \
     45tst_psMinimize01 \
     46tst_psMinimize02 \
     47tst_psMinimize03 \
     48tst_psMinimize04 \
     49tst_psStats00 \
     50tst_psStats01 \
     51tst_psStats02 \
     52tst_psStats03 \
     53tst_psStats05 \
     54tst_psStats06 \
     55tst_psStats07 \
     56tst_psStats08 \
     57tst_psStats09 \
     58tst_psVectorFFT
    1759
    18 TARGET = tst_psMatrix01 \
    19  tst_psMatrix02 \
    20  tst_psMatrix03 \
    21  tst_psMatrix04 \
    22  tst_psMatrix05 \
    23  tst_psMatrix06 \
    24  tst_psMatrix07 \
    25  tst_psMatrixVectorArithmetic01 \
    26  tst_psMatrixVectorArithmetic02 \
    27  tst_psMatrixVectorArithmetic03 \
    28  tst_psStats00 \
    29  tst_psStats01 \
    30  tst_psStats02 \
    31  tst_psStats03 \
    32  tst_psStats05 \
    33  tst_psStats06 \
    34  tst_psStats07 \
    35  tst_psStats08 \
    36  tst_psStats09 \
    37  tst_psHist00 \
    38  tst_psHist01 \
    39  tst_psHist02 \
    40  tst_psFunc00 \
    41  tst_psFunc01 \
    42  tst_psMinimize00 \
    43  tst_psMinimize01 \
    44  tst_psMinimize02 \
    45  tst_psMinimize03 \
    46  tst_psImageStats00 \
    47  tst_psImageStats01 \
    48  tst_psImageStats02
     60OBJS = $(addsuffix .o,$(TARGET))
    4961
    5062all: $(TARGET)
    5163
    52 tst_psMatrix01:         tst_psMatrix01.o
    53 tst_psMatrix02:         tst_psMatrix02.o
    54 tst_psMatrix03:         tst_psMatrix03.o
    55 tst_psMatrix04:         tst_psMatrix04.o
    56 tst_psMatrix05:         tst_psMatrix05.o
    57 tst_psMatrix06:         tst_psMatrix06.o
    58 tst_psMatrix07:         tst_psMatrix07.o
    59 tst_psMatrixVectorArithmetic01: tst_psMatrixVectorArithmetic01.o
    60 tst_psMatrixVectorArithmetic02: tst_psMatrixVectorArithmetic02.o
    61 tst_psMatrixVectorArithmetic03: tst_psMatrixVectorArithmetic03.o
    62 tst_psStats00:          tst_psStats00.o
    63 tst_psStats01:          tst_psStats01.o
    64 tst_psStats02:          tst_psStats02.o
    65 tst_psStats03:          tst_psStats03.o
    66 tst_psStats04:          tst_psStats04.o
    67 tst_psStats05:          tst_psStats05.o
    68 tst_psStats06:          tst_psStats06.o
    69 tst_psStats07:          tst_psStats07.o
    70 tst_psStats08:          tst_psStats08.o
    71 tst_psStats09:          tst_psStats09.o
    72 tst_psHist00:           tst_psHist00.o
    73 tst_psHist01:           tst_psHist01.o
    74 tst_psHist02:           tst_psHist02.o
    75 tst_psFunc00:           tst_psFunc00.o
    76 tst_psFunc01:           tst_psFunc01.o
    77 tst_psFunc02:           tst_psFunc02.o
    78 tst_psFunc03:           tst_psFunc03.o
    79 tst_psMinimize00:       tst_psMinimize00.o
    80 tst_psMinimize01:       tst_psMinimize01.o
    81 tst_psMinimize02:       tst_psMinimize02.o
    82 tst_psMinimize03:       tst_psMinimize03.o
    83 tst_psMinimize04:       tst_psMinimize04.o
    84 tst_psMinimize05:       tst_psMinimize05.o
    85 tst_psImageStats00:     tst_psImageStats00.o
    86 tst_psImageStats01:     tst_psImageStats01.o
    87 tst_psImageStats02:     tst_psImageStats02.o
    88 tst_psImageStats03:     tst_psImageStats03.o
     64# include $(DEPENDENCIES)
    8965
    9066clean:
    91         @echo "    Deleting executable and binary files for 'test/sysUtils'"
    92         $(RM) $(TARGET) *.o *.lint
     67        @echo "    Deleting executable and binary files for 'test/collections'"
     68        $(RM) $(OBJS)
    9369
    94 %.o : %.c
    95         $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $<
    96 
    97 %   : %.o
    98         $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS)
    99 
    100 ## NOTE: The distclean target does not remove the .o files.  The Makefiles must
    101 ## be repaired.
    102 distclean:
     70distclean: clean
    10371        $(RM) $(TARGET)
    10472
    105 %.lint: %.c
    106         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     73install: $(testbindir) $(testbindir)/verified $(TARGET)
     74        install $(TARGET) $(testbindir)
     75        install verified/*.stderr verified/*.stdout $(testbindir)/verified
     76
     77$(testbindir):
     78        mkdir -p $(testbindir)
     79
     80$(testbindir)/verified:
     81        mkdir -p $(testbindir)/verified
    10782
    10883
Note: See TracChangeset for help on using the changeset viewer.