#
# Makefile for the checks on the FAT
#

compiler = tcc -c 

options = -w -d -O -Z -ml

libman = tlib

includepath = ..\engine\header;..\misc

all: fragfact.lib
        @echo Fragmentation checking compiled

fragfact.lib: defrfact.obj
       @..\..\bin\delete fragfact.lib
       @$(libman) fragfact.lib + defrfact.obj
       @..\..\bin\delete chkfat.bak

defrfact.obj: defrfact.c
       @$(compiler) $(options) -I$(includepath) defrfact.c

clean:
        @..\..\bin\delete defrfact.obj
        @..\..\bin\delete fragfact.lib
        @..\..\bin\delete fragfact.bak
