#
#  Makefile for talk
#

VER=12
VERSION="1.2"

BCCINCLUDE=\bc\include		# May be \borlandc\include on your PC
CLIB=..\lib\wattcpsm.lib

CFLAGS= -ms -G- -Z -v- -DVERSION=$(VERSION) -I$(BCCINCLUDE) -I..\include
CC=bcc $(CFLAGS)


talk.exe: talk.c $(CLIB)
        $(CC) talk.c $(CLIB)

zip: talk-$(VER).zip

talk-$(VER).zip: talk.exe talk.c wattcp.dst talk.doc copying makefile
	del talk-$(VER).zip
	ren wattcp.cfg wattcp.tmp
	ren wattcp.dst wattcp.cfg
	pkzip talk-$(VER) talk.exe talk.c wattcp.cfg talk.doc copying makefile
	ren wattcp.cfg wattcp.dst
	ren wattcp.tmp wattcp.cfg

