#
#       Makefile for SMBPD
#
# You may wish to change the following four parameters
#

WATINCLUDE=.            # path to WATTCP include files
WATLIB=.                # path to WATTCP lib files
DEBUG= D                # set to D for disable, E for enable symbolic debugging

#
MODEL= S                # set to L for large, C for compact, S for small
#
#
#
# auto configure section
#
#

!if '$(DEBUG)'=='E'
IDEBUG=-v
TEXTDEBUG=enabled
!elif '$(DEBUG)'=='D'
IDEBUG=-v-
TEXTDEBUG=disabled
#!else
#!error  DEBUG must be set to either E or D
!endif

CMODEL=-ms
CLIB=$(WATLIB)\wattcpsm.lib
TEXTMODEL=small

CFLAGS= -M -O $(CMODEL) $(IDEBUG) -I$(WATINCLUDE) -I\tc\incl31 -L\tc\lib31
CC= tcc

#
#
#  list of executables
#
#

htget.exe: htget.c getopt.c
	$(CC) $(CFLAGS) htget.c getopt.c $(CLIB)
