# Imakefile for MandelSpawn

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

# CDEBUGFLAGS = -g -Bstatic
# CDEBUGFLAGS = -g

DEFINES = -DXMS $(R4_DEFINES)
SYS_LIBRARIES = -lm
SRCS = main.c Ms.c Mama.c $(MENUSRC) work.c mspawn.c
OBJS = main.o Ms.o Mama.o $(MENUOBJ) work.o mspawn.o

ComplexProgramTarget(xms)
