###############################################################################
#
# "DLL for Meltice eXtenDing" for Meltice 2.x source code.
#
###############################################################################
# MAKEFILE = for Borland C++ 5.5x make.
###############################################################################

CC	= bcc32
CFLAGS	= -O2 -tWD -w- 

RESC	= brc32
LINK	= ilink32.exe

OBJS	= MXD_FRTC.OBJ FD_ARDLL.OBJ FC_INIST.OBJ FC_MEMST.OBJ U_SYSTEM.OBJ \
	  U_STRING.OBJ FD_MD5IO.OBJ FW_DIALG.OBJ
TARGET	= ..\..\..\DIST\FROSTICE.MXD
RES	= MXD_FRTC.RES
RC	= MXD_FRTC.RC

$(TARGET): $(OBJS) $(RES)
    $(LINK) /Tpd  $(OBJS) c0d32.obj, $@, , import32.lib cw32.lib,,$(RES)

MXD_FRTC.OBJ: ..\MXD_FRTC.CPP
    $(CC) $(CFLAGS) -c ..\MXD_FRTC.CPP

.cpp.obj:
    $(CC) $(CFLAGS) -c $<

.rc.res:
    $(RESC) -r $<

ready:
    @copy ..\dlg\*.* . >nul
    @copy ..\cfg\*.* . >nul
    @copy ..\do\*.* . >nul
    @copy ..\..\..\utl\*.* . >nul
srcclean:
   @del ..\obj\*.cpp >nul
   @del ..\obj\*.rc >nul
   @del ..\obj\*.h >nul
clean:
   @del ..\obj\*.obj >nul
   @del ..\obj\*.res >nul
   @del ..\..\..\dist\*.il? >nul
   @del ..\..\..\dist\*.tds >nul
   @del ..\..\..\dist\*.map >nul
