home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-09-09 | 1.6 KB | 70 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.bc /main/titanic/2 27 Jun 1997
- #
- #---------------------------------------------------------------------------
-
- LIBEXT = lib
- OBJEXT = obj
-
- .SUFFIXES:
- .SUFFIXES: .cxx .$(OBJEXT)
-
- INCS = -I..\include
- INSTALLDIR = ..\lib
-
- AR = tlib
- CP = copy /b
- RM = rmf
-
- CXX = bcc32
- CXXFLAGS = /Pcxx $(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)
- $(RM) $@
- &$(AR) $@ + $**
-
- install: $(TARGET)
- @-if not exist $(INSTALLDIR)\*.* mkdir $(INSTALLDIR)
- $(CP) $(TARGET) $(INSTALLDIR)
-
- .cxx.$(OBJEXT):
- $(CXX) @&&!
- $(CXXFLAGS) -c $<
- !
-
- clean:
- $(RM) @&&!
- *.$(OBJEXT) *.c
- !
-
- clobber:
- $(RM) @&&!
- *.$(OBJEXT) *.c *.$(LIBEXT)
- !
-