blob: e2ccc80b3986db2b0c5947e04623f20182281688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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)
|