--- src/Makefile 2013-06-07 19:05:43.000000000 +0200 +++ src/Makefile.new 2016-07-05 14:38:14.604366343 +0200 @@ -25,18 +25,18 @@ ############ Option 1: build the pl executable (unix), no X11 .... -NOX11 = -DNOX11 +#NOX11 = -DNOX11 ############ Option 2: build the pl executable (unix), with X11 enabled .... -# NOX11 = -# XOBJ = x11.o interact.o +NOX11 = +XOBJ = x11.o interact.o ############ ...AND... activate the lines below for your platform... (X11 libs & header files) #### linux -# XLIBS = -L/usr/X11R6/lib -lX11 -# XINCLUDEDIR = -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib -lX11 +XINCLUDEDIR = -I/usr/X11R6/include #### alt linux # XLIBS = -lX11 # XINCLUDEDIR = -I/usr/include/X11 @@ -91,10 +91,10 @@ ########### Option 1: use bundled GD16 (PNG only). Requires libpng and zlib. -exetarget: plpng -GD16LIBS = -lpng -lz -GD16H = -I/usr/local/include -ZFLAG = -DWZ +#exetarget: plpng +#GD16LIBS = -lpng -lz +#GD16H = -I/usr/local/include +#ZFLAG = -DWZ ### These should remain commented unless your libs are not in usual places, then alter to suit... ### GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a ### GD16H = -I/home/scg/lib @@ -111,11 +111,11 @@ ########### Option 4: use your own GD resource with FreeType2 (ttf) fonts enabled. ########### Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype -# exetarget: plgd18 -# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype -# GD18H = -# GDFREETYPE = -DGDFREETYPE -# ZFLAG = -DWZ +exetarget: plgd18 +GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype +GD18H = +GDFREETYPE = -DGDFREETYPE +ZFLAG = -DWZ ########### Option 5: don't use GD at all. # exetarget: plnogd