1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/biology/deft/files/Makefile.deft
Alexander Langer 4ac4fd59ba fc is ftn77 now, adjust accordingly.
PR:		19160, 19161
Submitted by:	Glenn Johnson <gjohnson@nola.srrc.usda.gov>
Reviewed by:	will
2000-06-11 19:51:59 +00:00

34 lines
490 B
Makefile

#
# Makefile for DeFT
#
TARGET = DeFT.exec
FFLAGS += -w
CFLAGS += -w
.if ${MACHINE_ARCH} == "i386"
FFLAGS += -malign-double
CFLAGS += -malign-double
.endif
F2C = f2c
F2CFLAGS += -w -Nn802
.if ${OSVERSION} >= 400005
FC = ftn77
#FC = fc
CFLAGS += -I${PREFIX}/include
.endif
LFLAGS =
SRCS:sh = ls *.f
OBJS = $(SRCS:.f=.o)
all: ${TARGET}
${TARGET}: ${OBJS}
${FC} ${LFLAGS} ${OBJS} -o $@
cdgrxx.o:
${F2C} ${F2CFLAGS} cdgrxx.f
${CC} ${CFLAGS} -c cdgrxx.c
clean:
rm -f ${OBJS} ${TARGET}