home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-10-13 | 1.6 KB | 64 lines |
- #---------------------------------------------------------------------------
- #
- # Copyright (c) 1992-1997 by Cayenne Software, Inc.
- #
- # This software is furnished under a license and may be used only in
- # accordance with the terms of such license and with the inclusion of
- # the above copyright notice. This software or any other copies thereof
- # may not be provided or otherwise made available to any other person.
- # No title to and ownership of the software is hereby transferred.
- #
- # The information in this software is subject to change without notice
- # and should not be construed as a commitment by Cayenne Software Inc.
- #
- #---------------------------------------------------------------------------
- #
- # File : @(#)Makefile.cc-hp /main/titanic/1 27 Jun 1997
- #
- #---------------------------------------------------------------------------
-
- LIBEXT = a
- OBJEXT = o
-
- .SUFFIXES:
- .SUFFIXES: .cxx .$(OBJEXT)
-
- INCS = -I../include
- INSTALLDIR = ../lib
-
- AR = ar -rv
- CP = cp
- RM = rm -f
-
- CXX = aCC
- CXXFLAGS = $(INCS)
- TARGET = libwmt4omt.$(LIBEXT)
-
- OBJ = \
- CList.$(OBJEXT) \
- FlexArray.$(OBJEXT) \
- HashTbl.$(OBJEXT) \
- IntHash.$(OBJEXT) \
- PtrDict.$(OBJEXT) \
- PtrSet.$(OBJEXT) \
- Range.$(OBJEXT) \
- String.$(OBJEXT) \
- StringHash.$(OBJEXT)
-
- $(TARGET): $(OBJ)
- $(AR) $@ $?
-
- install: $(TARGET)
- if [ ! -d $(INSTALLDIR) ]; then mkdir $(INSTALLDIR); fi
- $(CP) $(TARGET) $(INSTALLDIR)
- chmod 644 $(INSTALLDIR)/$(TARGET)
-
- .cxx.$(OBJEXT):
- $(CXX) $(CXXFLAGS) -c $<
-
- clean:
- $(RM) *.$(OBJEXT) *.c
-
- clobber:
- $(RM) *.$(OBJEXT) *.c *.$(LIBEXT)
-