freebsd-skq/gnu/usr.bin/cc/f77/Makefile
Alexander Kabaev 04d56e6287 Minor Makefile cleanup. Do not use Makefile variables named 'version' and
'target'. Latter is problematic in particular as apparently FreeBSD's
bsd.prog.mk re-defines it under some circumstances. This causes an
unexpected failures like -dumpmachine not working for cc while working
fine for c++.

Do not re-define IN_GCC in multipe places, it gets inherited from
Makefile.in anyway.

PR:		gnu/110143
Submitted by:	usleepless at gmail
2007-03-12 00:28:06 +00:00

22 lines
326 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.include "../Makefile.fe"
.PATH: ${GCCDIR}/f ${GCCDIR}
PROG= f77
SRCS= gcc.c g77spec.c
CFLAGS+= -DFORTRAN_INIT=\"-lg2c\" -DFORTRAN_INIT_PROFILE=\"-lg2c_p\"
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
CLEANFILES= f77.1
f77.1: g77.1
cat ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>