IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2004, 10:52:14 AM (22 years ago)
Author:
desonia
Message:

added dependency generation to makefiles.

File:
1 edited

Legend:

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

    r887 r987  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.9 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-07 00:31:55 $
     5##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-10 20:52:14 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939 tst_psImageStats00 \
    4040 tst_psImageStats01 \
    41  tst_psImageStats02
     41 tst_psImageStats02 \
     42 tst_psImageIO
     43
     44OBJS = $(addsuffix .o,$(TARGET))
    4245
    4346all: $(TARGET)
    4447
    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
     48include $(OBJS:.o=.d)
    7349
    7450clean:
     
    8258        $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS)
    8359
    84 ## NOTE: The distclean target does not remove the .o files.  The Makefiles must
    85 ## be repaired.
    86 distclean:
     60distclean: clean
    8761        $(RM) $(TARGET)
    8862
     
    9064        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    9165
     66%.d: %.c
     67        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
     68        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     69        $(RM) -f $@.tmp
    9270
Note: See TracChangeset for help on using the changeset viewer.