#
# Makefile for SieFuzzy example for Microsoft C Version 7.0 or later.
#

all : getfiles pend.dll

tssim.obj : $*.c $*.h
    cl -c -nologo -AMw -W3 -G2sw -Od -Zpi -DWINDOWS $*.c

pend.obj : $*.c
    cl -c -nologo -AMw -W3 -G2sw -Od -Zpi -DWINDOWS $*.c

pend.dll : tssim.obj pend.obj $*.def
    link /NOD/NOE/align:16/LI tssim.obj pend.obj,$*.dll,,libw mdllcew,$*.def
    rc $*.dll
    implib $*.lib $*.def

# Deletes all files except for the sources
clean :
    -del *.obj
    -del *.map
    -del *.exe
    -del *.dll
    -del *.lib
    -del tssim.c

# Gets the TSSIM files.
getfiles :
    copy ..\tssim.c
