F77 makefile again.

H.J. Lu hjl@varesearch.com
Sun Jun 6 15:39:00 GMT 1999


Hi,

Why do I have an impression that people who modify g77 makefiles in
egcs either don't care about parallel make or don't want to spend
time to write good makefiles. Here is an example:

In gcc/f/Make-lang.in, there is

f77.install-common:
	case "$(LANGUAGES)" in \
	  *[fF]77*) touch $(libsubdir)/lang-f77;; \
	  *) rm -f $(libsubdir)/lang-f77;; \
	esac

There is no dependency for f77.install-common. With parallel make, it
may fail since $(libsubdir) may not exit when f77.install-common is
reached.


-- 
H.J. Lu (hjl@gnu.org)


More information about the Gcc mailing list