You should compile first the file in the pwidget directory,
and then the files in lib. In both cases just typing "make"
does that job provided you edit the Makefiles so that the
directory paths correspond to those in your system.

The Makefiles of the various directories need information
about the location of various libraries of the X Window System
that vary from system to system. The Makefile in starter/lib
also needs information about the widget set you will be using.

The original Makefiles that come with this software are set
to work in a SUN(tm) OPEN LOOK (tm) environment with the following
settings (not all present in all Makefiles)

INCLUDE = -I${OPENWINHOME}/include		# X and Xt definitions

LIB	   = -L${OPENWINHOME}/lib		# X and Xt libraries

WSET	   = -DOLIT					# widget set used (starter/lib only)

WLIB	   = -Xol						# widget set library

RANLIB  = ranlib					# ranlib command (starter/lib only)


The following are some possible alternatives (your system may follow
one of them, if you are lucky). R4, R5, and R6 can occur in place of
each other.

INCLUDE = -I/usr/include/X11R4		# HP systems - also:
INCLUDE =	-I/usr/include/X11R4 -I/usr/include/Motif1.1
INCLUDE = -I/usr/X11R6/include		# 486 Free BSD systems
INCLUDE = -I/usr/local/Motif/include
INCLUDE = -I/usr/local/X11R5/include

LIB	   = -L/usr/lib/X11R4
LIB	   = -L/usr/lib/X11R4 -L/usr/lib/Motif1.1
LIB	   = -L/usr/X11R6/lib
LIB	   = -L/usr/local/Motif/lib
LIB	   = -L/usr/local/X11R5/lib


The following are pretty standard and the pairs should be consistent

WSET	   = -DMOTIF			# To compile the Starter Toolkit with Motif
WLIB	   = -lXm				# To invoke the Motif library in applications

WSET	   = -DATHENA			# To compile the Starter Toolkit with Athena
WLIB	   = -lXaw -lXmu -lXext	# To invoke the Athena library in applications

If the command ranlib does not exist in your system, you shoud set

RANLIB = echo				# starter/lib only
