IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 25, 2004, 5:05:13 PM (22 years ago)
Author:
desonia
Message:

Relaxed the dependency file generation to avoid remakes when psLib changes.

File:
1 edited

Legend:

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

    r1007 r1109  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.15 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-11 20:36:04 $
     5##  $Revision: 1.16 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-26 03:05:12 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5858        $(RM) $(TARGET)
    5959
     60cleandependencies:
     61        $(RM) $(DEPENDENCIES)
     62
    6063builddir/%.o : %.c
    6164        $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -I$(PSLIB_INCL_DIR) -c -o $@ $<
     
    6871
    6972builddir/%.d: %.c
    70         $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
    71         sed 's|\($*\)\.o[ :]*|builddir\/\1.o $@ : |g' $@.tmp > $@
    72         $(RM) -f $@.tmp
     73        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< | sed 's|\(.*\.o\)|builddir/\1|' > $@
    7374
    7475install: $(testbindir) $(testbindir)/verified $(TARGET)
Note: See TracChangeset for help on using the changeset viewer.