/* Imakefile for hypertext and graph widgets */

CDEBUGFLAGS=-O
#CC=	/usr/lang/cc 
#CC =   gcc -Wall -fwritable-strings

INCLUDES=-I. -I$(INCROOT)/tk
LOCAL_LIBRARIES=$(TKLIB) $(TCLLIB) $(XLIB)
EXTRA_LOAD_FLAGS= -lm 

/**/# Indicate the correct paths for each of the following libraries
/**/#
/**/# XLIB          Your X11 (R4 or R5) library.
/**/# TCLLIB        Tcl Version 6.x library.
/**/# TKLIB         Tk Version 2.x library.
/**/#
TCLLIB=-L$(LIBDIR) -ltcl
TKLIB=-L$(LIBDIR) -ltk

/**/#
/**/# Define the following:
/**/#
/**/# -DNO_EXP10    if your C math library doesn't have exp10.
/**/# -DNO_RINT	    if your C math library doesn't have rint
/**/# -DNO_ALLOCA   if your C library doesn't have alloca or a 
/**/#                 /usr/include/alloca.h
/**/#
#ifdef SYSV
DEFINES=-DNO_EXP10 -DNO_RINT -DNO_INF
#else
DEFINES=
#endif

SRCS=	main.c graph.c htext.c
OBJS=	main.o graph.o htext2.o

ComplexProgramTarget(pish)
