2003-07-28 19:25:02 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2003/07/28 15:25:04 lukem Exp $
|
2001-06-18 20:18:30 +04:00
|
|
|
|
|
|
|
PROG= f771
|
|
|
|
SRCS= ${G_F77_OBJS:.o=.c}
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${DIST}/gcc/f -I.
|
|
|
|
HOST_CPPFLAGS+= -I${GCCARCH} -DUSE_HCONFIG= \
|
|
|
|
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|
|
|
|
2001-10-09 03:18:11 +04:00
|
|
|
.for f in 1t 2t fo io nq op ot
|
|
|
|
CLEANFILES+= str-${f}.h str-${f}.j
|
|
|
|
.endfor
|
2001-06-18 20:18:30 +04:00
|
|
|
|
2001-10-09 03:18:11 +04:00
|
|
|
.include "../Makefile.backend"
|
2001-06-18 20:18:30 +04:00
|
|
|
|
|
|
|
fini: fini.c proj.c
|
|
|
|
${HOST_LINK.c} -o $@ $>
|
2001-11-08 03:13:53 +03:00
|
|
|
CLEANFILES+= fini
|
2001-06-18 20:18:30 +04:00
|
|
|
|
|
|
|
.for f in 1t 2t fo io nq op ot
|
2001-10-09 03:18:11 +04:00
|
|
|
str-${f}.h str-${f}.j: str-${f}.fin fini
|
2001-06-18 20:18:30 +04:00
|
|
|
./fini ${>:M*.fin} str-${f}.j str-${f}.h
|
|
|
|
|
2003-07-28 19:25:02 +04:00
|
|
|
${OBJS} ${DEPENDSRCS}: str-${f}.h
|
2001-06-18 20:18:30 +04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.PATH: ${DIST}/gcc/f
|