home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
SMB_111.ZIP
/
INET2SMB.MAK
< prev
next >
Wrap
Makefile
|
1994-01-20
|
799b
|
35 lines
###############################
# Makefile for INET2SMB #
# 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 = inet2smb.exe
OBJS = inet2smb.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
inet2smb.obj: $(HEADERS)
smbvars.obj: $(HEADERS)
smblib.obj: $(HEADERS)