
INCLUDES = -I.  -I$(MTOOLKITSRC) -I$(LIBSRC)

SRCS1=	xcomstring.c
SRCS2=	xuildemo.c
SRCS3=	xuildemo.uil

OBJS1=	xcomstring.o
OBJS2=	xuildemo.o

all:: xuildemo xcomstring

NormalLibraryObjectRule()

xuildemo: xuildemo.o xuildemo.uid
	$(RM) $@                                                        
	$(CC) -o $@ xuildemo.o $(DEPS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLIBS)

                                                                        
xuildemo.uid: xuildemo.uil
	$(RM) $@                                                        
	uil -o $@ xuildemo.uil
                                                                        
                                                                        
clean::                                                                 
	$(RM) xuildemo                                                   
	$(RM) xuildemo.uid                                               
	$(RM) xuildemo.o

DependTarget()

LOCAL_LIBRARIES = -lMrm -lXm $(XTOOLLIB) $(XLIB) 

NormalProgramTarget(xcomstring,$(OBJS1),, $(LOCAL_LIBRARIES),)
