#   Where is your compiler installed?
COMPPATH=\borlandc
#COMPPATH=c:\bc31
#COMPPATH=c:\tc

# What compiler do you use?
# uncomment for Borland C
CC=bcc
# uncomment for Turbo C
#CC=tcc

# Compiler flags
# uncomment for Borland/Turbo C
# remove -DCOLOR to force B&W mode
CFLAGS= -y -v -c -1 -ml -Od -I$(COMPPATH)\include

# Linker flags
# uncomment for Borland/Turbo C
LFLAGS= -v -ml -l-c -lm -L$(COMPPATH)\lib

#################################################################
# In normal cases, no other settings should be changed below!!! #
#################################################################

LINKLINE= ssh.obj getopt.obj regex.obj

.c.obj:
	$(CC) $(CFLAGS) $*.c

ssh.exe : $(LINKLINE)
	$(CC) $(LFLAGS) $(LINKLINE)

ssh.obj: ssh.c
getopt.obj: getopt.c
regex.obj: regex.c

clean:
	del *.obj
	del *.map
	del ssh.exe
