IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41491 for trunk


Ignore:
Timestamp:
Feb 11, 2021, 1:14:47 PM (5 years ago)
Author:
eugene
Message:

remove excess dependencies on DESTINC/autocode.h to avoid parallel re-builds

Location:
trunk/Ohana/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libautocode/Makefile

    r15621 r41491  
    4646$(DESTINC)/autocode.h : $(INC)/autocode.h
    4747
    48 $(AOBJS): $(DEF)/autocode.c $(DESTINC)/autocode.h
     48# $(AOBJS): $(DEF)/autocode.c $(DESTINC)/autocode.h
     49
     50#
     51$(AOBJS): $(DEF)/autocode.c $(INC)/autocode.h
    4952
    5053$(INC)/autocode.h: $(AINCS) $(DEF)/autocode.h $(DEF)/common.h
  • trunk/Ohana/src/libdvo/Makefile

    r40291 r41491  
    152152# $(SRC)/photfits.$(ARCH).o       
    153153
     154# libautocode/Makefile.Targets defines $(AOBJS) & $(AINCS)
    154155include ../libautocode/Makefile.Targets
    155156
     
    168169$(DESTINC)/autocode.h: $(AINC)/autocode.h
    169170        @if [ ! -d $(DESTINC) ]; then mkdir -p $(DESTINC); fi
    170         rm -f $@
    171         cp $< $@
     171        /bin/rm -f $@
     172        /bin/cp -f $< $@
    172173        echo "done making autocode.h"
    173174
    174175$(AINC)/autocode.h: $(AINCS) $(ADEF)/autocode.h $(ADEF)/common.h
    175         @echo "$(MAKE) $@ from $^"
     176#       @echo "$(MAKE) $@ from $^"
    176177        cd $(AUTO) && $(MAKE) $@
    177178
    178179# generic rule for AINCS
    179180$(AINC)/%.h : $(ADEF)/%.d $(ADEF)/autocode.h $(ADEF)/common.h
    180         @echo "$(MAKE) $@ from $^"
     181#       @echo "*** h-build $(MAKE) $@ from $^"
    181182        cd $(AUTO) && $(MAKE) $@
    182183
    183184# generic rule for ASRC
    184 $(ASRC)/%.c : $(ADEF)/%.d $(ADEF)/autocode.c $(AINC)/%.h
    185         @echo "$(MAKE) $@ from $^"
     185$(ASRC)/%.c : $(ADEF)/%.d $(ADEF)/autocode.c
     186#       @echo "*** c-build: $(MAKE) $@ from $^"
    186187        cd $(AUTO) && $(MAKE) $@
    187188
    188189# generic rule for AOBJS
    189190$(ASRC)/%.$(ARCH).o : $(ASRC)/%.c
    190         @echo "$(MAKE) $@ from $^"
     191#       @echo "*** o-build: $(MAKE) $@ from $^"
    191192        cd $(AUTO) && $(MAKE) $@
    192193
Note: See TracChangeset for help on using the changeset viewer.