blob: 4f6ca0bfb445ed24c3d0299418b77b18de918969 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Makefile for platon
#
# $FreeBSD$
TARGET= platon
OBJS= platon.o xdrvr.o
.if ${OSVERSION} >= 400018
FOPT= ${FFLAGS}
.else
FOPT= ${FFLAGS} -Nx800 -NL400 -Nn802
.endif
COPT= ${CFLAGS} -I%%X11BASE%%/include
LOPT= -L%%X11BASE%%/lib -lX11
all: ${OBJS}
${FC} -o ${TARGET} ${OBJS} ${LOPT}
platon.o: platon.f
${FC} ${FOPT} -c $<
xdrvr.o: xdrvr.c
${CC} ${COPT} -c $<
#f77 -o platon platon.f xdrvr.c -lX11
|