##
##***************************************************************************
##
##	File:	makefile
##
##	Function(s):
##
##	Description:
##		Template for prototyper generated application
##		Your application name is "oimem"
##
##	Editing Information:
##		This file is generated only if a Makefile does not exist in
##		the directory where an application is saved.  The builder will
##		never touch this file once it exists, so the user is free to
##		make any modifications necessary to build the application.
##
##	RCSid = "$Id: makefile.tpt,v 2.4 1993/02/21 02:12:27 misek Exp $"
##
##***************************************************************************
## Futures:
## 	SVR4:	CXX = CC
## 	ultrix:	CXX = cxx
## 	_AIX:	CXX = xlC
## 	sun:		CXX = CC
##
       CXX = g++
    CFLAGS = -O2 -g
  CXXFLAGS = -O2 $(INCDIRS) -g
   LDFLAGS =
     OILIB = -lOI
   XEXTLIB = -lXext
      XLIB = -lX11
      LIBS = $(OILIB) $(XEXTLIB) $(XLIB)
   INCDIRS = 

.SUFFIXES: .C .c .a .y .l .o

.C:
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $* $*.C $(LIBS)

.C.o:
	$(CXX) -c $(CXXFLAGS) $*.C
	

OBJS =	oimem.o

oimem:	$(OBJS)
	$(CXX) $(LDFLAGS) $(OBJS) $(LIBS) -o $@

oimem.o:	oimem.C

clean:
	$(RM) oimem $(OBJS)
