home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
mag&info
/
jamapi.zip
/
CAPI.ARJ
/
WINDOWS.ARJ
/
MAKEWIN.BC
< prev
next >
Wrap
Text File
|
1993-07-01
|
2KB
|
48 lines
#
# 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 Borland C++ 3.1
#
# This makefile creates a Windows DLL file.
# The resulting DLL file will require a 286 or later, and Windows in
# protected mode.
#
# Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
# Mats Wallin. ALL RIGHTS RESERVED.
#
CMDL = l
CC = bcc
RC = brc
LIBPATH = c:\lib\bcw
INCPATH = c:\h\bc
CFLAGS = -c -2 -G -Ox -m$(CMDL) -WDE -w -D_WINDOWS -a-
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) {$< }
jamapi.dll: $(OBJS)
echo $(LIBPATH)\c0d$(CMDL).obj + > $*.rsp
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 $(LIBPATH)\IMPORT.LIB $(LIBPATH)\CW$(CMDL) /A=16 /c >> $*.rsp
echo $*.def >> $*.rsp
tlink @$*.rsp
$(RC) -t -30 -i$(INCPATH) $* $@
implib /i $*.lib $@
del $*.rsp