Update of /cvsroot/htoolkit/port
In directory sc8-pr-cvs1:/tmp/cvs-serv31781
Modified Files:
makefile
Log Message:
bugfix: correct dependency checking
Index: makefile
===================================================================
RCS file: /cvsroot/htoolkit/port/makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** makefile 23 Aug 2003 09:33:23 -0000 1.33
--- makefile 23 Aug 2003 11:15:34 -0000 1.34
***************
*** 170,174 ****
@-if test -f $(<D)/$(*F)_stub.h; then $(MV) $(<D)/$(*F)_stub.[ch] $(HOUTDIR)/$(*D); fi
@# create dependency file
! @$(HC) $< $(HC-OPTIONS) -M -optdep-f -optdep$(*F).d -i$(IMPORTDIR)
@sed -e 's|$(subst .hs,,$<)\.o|$(HOUTDIR)/$*\.o|' $(*F).d > $(HOUTDIR)/$*.d
@rm $(*F).d
--- 170,174 ----
@-if test -f $(<D)/$(*F)_stub.h; then $(MV) $(<D)/$(*F)_stub.[ch] $(HOUTDIR)/$(*D); fi
@# create dependency file
! @$(HC) $< $(HC-OPTIONS) -M -optdep-f -optdep$(*F).d -i$(BUILDDIR)
@sed -e 's|$(subst .hs,,$<)\.o|$(HOUTDIR)/$*\.o|' $(*F).d > $(HOUTDIR)/$*.d
@rm $(*F).d
|