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/sysUtils/Makefile

    r888 r987  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-07 00:32:25 $
     5##  $Revision: 1.13 $  $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
     
    3737         tst_psTrace04
    3838
     39OBJS = $(addsuffix .o,$(TARGET))
     40
    3941all: $(TARGET)
    4042
    41 atst_psAbort_01:    atst_psAbort_01.o
    42 atst_psAbort_02:    atst_psAbort_02.o
    43 atst_psAbort_03:    atst_psAbort_03.o
    44 tst_psMemory:       tst_psMemory.o
    45 tst_psError:        tst_psError.o
    46 tst_psHash00:       tst_psHash00.o
    47 tst_psHash01:       tst_psHash01.o
    48 tst_psHash02:       tst_psHash02.o
    49 tst_psHash03:       tst_psHash03.o
    50 tst_psHash04:       tst_psHash04.o
    51 tst_psLogMsg00:     tst_psLogMsg00.o
    52 tst_psLogMsg01:     tst_psLogMsg01.o
    53 tst_psLogMsg02:     tst_psLogMsg02.o
    54 tst_psLogMsg03:     tst_psLogMsg03.o
    55 tst_psStringCopy:   tst_psStringCopy.o
    56 tst_psTrace00:      tst_psTrace00.o
    57 tst_psTrace01:      tst_psTrace01.o
    58 tst_psTrace02:      tst_psTrace02.o
    59 tst_psTrace03:      tst_psTrace03.o
    60 tst_psTrace04:      tst_psTrace04.o
     43include $(OBJS:.o=.d)
    6144
    6245clean:
     
    7356        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    7457
    75 distclean:     
     58distclean:
    7659        $(RM) $(TARGET)
    7760
     61%.d: %.c
     62        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
     63        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     64        $(RM) -f $@.tmp
     65
Note: See TracChangeset for help on using the changeset viewer.