View Single Post
  #3  
Old 05-15-2007, 09:09 AM
bobbydole
Fire Beetle
 
Join Date: Jul 2006
Posts: 26
Default

The problem is in the depend part of the makefile.

here's the correct part.

Code:
.depend depend:
        for f in $(SF); \
        do \
                i=`echo $$f | sed -e 's#.obj/#../common/#g' -e 's/\.o/.cpp/g' `; \
                gcc -MM $(COPTS) $(PERL_FLAGS) $$i | sed "s#^[^ ]*:#$$f:#g"; \
        done  >.depend
just removed the ` around $(PERL_FLAGS)

However it doesn't make any difference in the resulting .depend file.
Reply With Quote