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