1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/graphics/pgplot/files/Makefile.bin
Maho Nakata 131f3e2b69 * Migrate to gfortran.
* Bump port revision.
Approved by:  portmgr(kris)
2007-01-17 08:30:32 +00:00

22 lines
703 B
Makefile

DRVDIR=./drivers
LIBS=-L${X11BASE}/lib -lX11 -lm
XINCL=-I${X11BASE}/include
CFLAGS+= $(XINCL) -DPGDISP
.PATH: . ./pgdispd
PGDISP_ROUTINES= cleanup.o pgdisp.o figcurs.o getdata.o getvisuals.o handlexevent.o proccom.o resdb.o exposelgwin.o getcolors.o initlgluts.o initlgwin.o initlock.o initwmattr.o mainloop.o resizelgwin.o returnbuf.o waitevent.o updatelgtitle.o
all: grfont.dat pgxwin_server pgdisp
grfont.dat: fonts/grfont.txt fonts/pgpack.f
$(FC) -o pgpack fonts/pgpack.f
./pgpack <fonts/grfont.txt
pgxwin_server: $(DRVDIR)/pgxwin_server.c
$(CC) $(CFLAGS) -o pgxwin_server $(DRVDIR)/pgxwin_server.c $(LIBS)
pgdisp: $(PGDISP_ROUTINES)
$(CC) $(CFLAGS) -o pgdisp $(PGDISP_ROUTINES) $(LIBS)