# borland windows makefile
#
# this assumes openssl and borland free command line tools are installed
# this assumes c:\windows is windows directory
#
# run 'set PATH=c:\borland\bcc55\bin' and run 'make -f makefile_win32 all'
#

VNCOBJ = vnc.obj os_calls.obj d3des.obj
CFLAGS = -w- -O2 -I../common -Ic:/borland/bcc55/include
LDFLAGS = -Lc:/borland/bcc55/lib

all: vnc

vnc: $(VNCOBJ)
	$(CC) $(LDFLAGS) -WD -evnc.dll $(VNCOBJ)

clean:
	del $(VNCOBJ) vnc.dll

os_calls.obj:
	$(CC) $(CFLAGS) -c ../common/os_calls.c

d3des.obj:
	$(CC) $(CFLAGS) -c ../common/d3des.c
