/* Imakefile Template for Tk Toolkit programs */

/* IF YOU MODIFY ANYTHING BELOW THIS LINE BE SURE TO RERUN tkmkmf */

/*
 * This version of tkmkmf assumes that the you are programming in C++ 
 * It has been built for use with the compiler CC
 * Delete or uncomment the final line if programming in C, or using
 * a C++ compiler that can use Tk's C compiled main, e.g. g++. In the
 * latter case specify the compiler in the next section.
 */
/* Use_Cplusplus(CC) */

/*
 * Uncomment and modify the final line if programming in C but not using
 * the default C compiler, or using a C++ compiler that can use Tk's C 
 * compiled main, e.g. g++, but not AT & T's CC.
 */
CC = gcc

/* Uncomment the next line if using [incr tcl] */
/* Use_IncrTcl */

/* List of source modules, e.g. */  
SOURCES = app.c

/* List of object modules, e.g. */
OBJECTS = app.o

/* List of other places to look for header files, e.g */
/* INCLUDES = -I/usr/local/elsewhere/include */

/* List of other places to search for libraries, e.g. */
/* LDFLAGS = -L/usr/local/elsewhere/lib */

/* List of other libraries */
/* LIBRARIES = -lother */

/* Name of executable, e.g. app */
MakeProgram(app)

/****************************************************************************
 *
 * Application initialisation by coding AppInit is not necessary. If you do
 * nothing tkmkmf will atuomatically link a minimal C++ or C routine as shown
 * below with your code. The value returned needs to be either the return code
 * of a Tcl procedure call or TCL_OK.
 * 
 * If you are using [incr tcl] then it is necessary to initialise it by
 * calling Itcl_Init, e.g.
 *
 *    return Itcl_Init(interp);
 *
 * Your application will automatically source the startup file ~/.wishrc. If
 * you wish to specify some other file then set the variable tcl_RcFileName
 * to its pathname, e.g.
 *
 *    tcl_RcFileName = "~/.apprc";
 *
 ****************************************************************************
 *
 * Minimal C++ version of app.c showing coding of AppInit
 * 
 ****************************************************************************
 *
 * #include <tkmkmf.h>
 * 
 * int AppInit(Tcl_Interp*)
 * {
 *     return TCL_OK;
 * }
 *
 ****************************************************************************
 *
 * Minimal K&R C version of app.c showing coding of AppInit
 * 
 ****************************************************************************
 *
 * #include <tkmkmf.h>
 * 
 * int AppInit(interp)
 *    Tcl_Interp *interp;
 * {
 *     return TCL_OK;
 * }
 *
 ****************************************************************************/
