## 
##  TriGem Microsystems, Inc.
##  Motif 2.0 sample Makefile for  SunOS 4.x (Solaris 1.x)
##  

##
##           Compiler
CC = cc

##
##
EXEC =   sample

##
##           Header files
##           Xm   X11  inlcude
INCLUDEDIR = -I/usr/X11R5/include

##
##           Library
##           Xm   X11  library
LIBDIR = -L/usr/X11R5/lib

##
##      -g = Debugging info
##      -O = Optimize
CFLAGS= -O $(INCLUDEDIR) $(LIBDIR) -D_NO_PROTO

##
##       Libraries
##       Xm    Motif libray
##
LIBS =  -lXm  -lXt  -lX11 -lXext

##
##
OBJECTS= sample.o han_automata2.o

##
##       Command to compile and link objects together
##
$(EXEC):     $(OBJECTS)
	$(CC)  -o  $(EXEC)  $(OBJECTS)  $(LIBS)

clean:
	 rm  -f  $(EXEC)  $(OBJECTS)
##
##       End  of  Makefile
##

