home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
SMB_111.ZIP
/
QWK2SMB.MAK
< prev
next >
Wrap
Makefile
|
1994-01-20
|
795b
|
35 lines
###############################
# Makefile for QWK2SMB #
# For use with Borland C++ #
# Tabstop=8 #
###############################
# Macros
CC = bcc
LD = tlink
INCLUDE = \bc\include
LIB = \bc\lib
MODEL = s
CFLAGS = -d -C -m$(MODEL) -I$(INCLUDE)
LFLAGS = -n -c
MAIN = qwk2smb.exe
OBJS = qwk2smb.obj smblib.obj smbvars.obj
HEADERS = smblib.h smbdefs.h crc32.h
# Implicit C Compile Rule
{.}.c.obj:
@echo Compiling (I) $< to $@ ...
$(CC) $(CFLAGS) -n$(OS) -c $<
# Main EXE Link Rule
$(MAIN): $(OBJS)
@echo Linking $< ...
$(LD) $(LFLAGS) @&&+
$(LIB)\c0$(MODEL) $(OBJS)
+ $*, $*, $(LIB)\c$(MODEL).lib $(LIB)\math$(MODEL).lib $(LIB)\emu.lib
# All .obj modules
qwk2smb.obj: $(HEADERS)
smbvars.obj: $(HEADERS)
smblib.obj: $(HEADERS)