Update of /cvsroot/htoolkit/port
In directory sc8-pr-cvs1:/tmp/cvs-serv18125
Modified Files:
makefile
Log Message:
fix dependency generation
Index: makefile
===================================================================
RCS file: /cvsroot/htoolkit/port/makefile,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** makefile 23 Aug 2003 08:29:55 -0000 1.32
--- makefile 23 Aug 2003 09:33:23 -0000 1.33
***************
*** 178,185 ****
$(COBJS): $(COUTDIR)/%.c.o: %.c
! $(CC) -o $@ -c $< $(CC-OPTIONS) -MD $(INCDIRS)
! # the following two rules edit the dependency files: only needed for gcc 2.xx
! # @sed -e 's|\(.*\)\.o|$(COUTDIR)\/\1\.c\.o|' $(*F).d > $(COUTDIR)/$*.c.d
! # @rm $(*F).d
#--------------------------------------------------------------------------
--- 178,183 ----
$(COBJS): $(COUTDIR)/%.c.o: %.c
! $(CC) -o $@ -c $< $(CC-OPTIONS) -MD $(INCDIRS)
! @mv $(*F).d $(COUTDIR)/$(*F).c.d
#--------------------------------------------------------------------------
|