Both cc and cc3 were built using CCVER=$(CCVER) for certain compiler path.
[dragonfly.git] / gnu / usr.bin / cc3 / f77 / Makefile
1 # $FreeBSD: src/gnu/usr.bin/cc/f77/Makefile,v 1.21 2004/01/05 20:23:16 kan Exp $
2 # $DragonFly: src/gnu/usr.bin/cc3/f77/Attic/Makefile,v 1.4 2004/01/24 20:03:28 joerg Exp $
3
4 .include "../Makefile.inc"
5 .include "../Makefile.fe"
6
7 .PATH: ${GCCDIR}/f ${GCCDIR}
8
9 PROG=   f77
10 SRCS=   gcc.c g77spec.c
11
12 CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
13 CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
14 CFLAGS+= -DCCVER=\"$(MY_CCVER)\"
15 CFLAGS+= -DFORTRAN_INIT=\"-lg2c\" -DFORTRAN_INIT_PROFILE=\"-lg2c_p\"
16
17 DPADD=  ${LIBCC_INT}
18 LDADD=  ${LIBCC_INT}
19
20 CLEANFILES= f77.1
21
22 f77.1: g77.1
23         cat ${.ALLSRC} > ${.TARGET}
24
25 .include <bsd.prog.mk>