# Imakefile for MandelSpawn

MSLIB=../lib/libms.a

/* Check if there is a SimpleMenu widget.  SaberC awareness */
/* implies X11R4 or newer which implies the existence of the */
/* SimpleMenu widget.  There must be an easier way... */
/* #ifdef HasSaberC */
/* this is X11R4 or newer */
R4_DEFINES = -DR4 -DMENU -DLABEL
MENUSRC = menu.c label.c
MENUOBJ = menu.o label.o
DEPLIBS = XawClientDepLibs $(MSLIB)
LOCAL_LIBRARIES = XawClientLibs $(MSLIB)
/* #else */
/* this is X11R2 or X11R3 */
/* DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB) $(MSLIB) */
/* LOCAL_LIBRARIES =  $(XTOOLLIB) $(XLIB) $(MSLIB) */
/* #endif */

CDEBUGFLAGS = $(DEB_CFLAGS)

DEFINES = $(R4_DEFINES)
EXTRA_INCLUDES = -I../lib
SYS_LIBRARIES = -lm
SRCS = main.c Ms.c Mama.c xio.c $(MENUSRC)
OBJS = main.o Ms.o Mama.o xio.o $(MENUOBJ)

ComplexProgramTarget(xms)
