home *** CD-ROM | disk | FTP | other *** search
- #
- # JAM(mbp) - The Joaquim-Andrew-Mats Message Base Proposal
- #
- # C API
- #
- # Written by Mats Wallin
- #
- # ----------------------------------------------------------------------
- #
- # makefile (JAMmb)
- #
- # Make file for JAM(mbp) C API library and Zortech C++ 3.x
- #
- # This makefile creates a Windows DLL file.
- # The resulting DLL file will require a 286 or later, and Windows in
- # protected mode.
- #
- # NOTE! ZRC is not able to handle the Version Resource
- # To use the ZRC resource compiler, the Version Resource should be
- # removed from the JAMAPI.RC file
- #
- # Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
- # Mats Wallin. ALL RIGHTS RESERVED.
- #
- CMDL = l
- CC = ztc
- RC = rc
- #RC = zrc
- CFLAGS = -c -2 -m$(CMDL)wu -o+all -W2 -r -w- -D_WINDOWS -a1
-
- OBJS = jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj\
- jamlread.obj jammbini.obj jamscan.obj jamstore.obj\
- jamcrc32.obj jamsys.obj
-
- .c.obj:
- $(CC) $(CFLAGS) $*.c
-
- jamapi.dll: $(OBJS)
- echo jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj + > $*.rsp
- echo jamlread.obj jammbini.obj jamscan.obj jamstore.obj + >> $*.rsp
- echo jamcrc32.obj jamsys.obj >> $*.rsp
- echo $@ >> $*.rsp
- echo $*.map >> $*.rsp
- echo /AL:16/NOI >> $*.rsp
- echo $*.def >> $*.rsp
- blink @$*.rsp
- $(RC) -t $* $@
- implib $*.lib $@
- del $*.rsp
-