#
#       Makefile for VncViewer8086
#
RFB_HOME=rfb
WATTCP_HOME=wattcp

# Libraries
CLIB=$(WATTCP_HOME)\lib\wattcplg.lib graphics.lib

# All the include, library and model parameters are set in the turboc.cfg (to avoid the Fatal: Command arguments too long error)
CC= tcc

vncviewr.exe: argsres.c bldtime.c rfbproto.c sockets.c viewer.c colour.c desktop.c $(RFB_HOME)\*.c
        $(CC) argsres.c bldtime.c rfbproto.c sockets.c viewer.c colour.c desktop.c $(RFB_HOME)\*.c $(CLIB)
        echo VncViewer8086 built successfully
