#     (C) Copyright Microsoft Corp. 1991.  All rights reserved.
#
#     You have a royalty-free right to use, modify, reproduce and 
#     distribute the Sample Files (and/or any modified version) in 
#     any way you find useful, provided that you agree that 
#     Microsoft has no warranty obligations or liability for any 
#     Sample Application Files which are modified. 
#

CC  = cl -W2 -c -AM -Gsw -Zip -Oas -G2 -DDEBUG -Otw
ASM = masm -Zi -Mx
LINK= link /NOE/CO/LI/MAP
NAME= 4d

OBJ = 4d.obj math.obj transfor.obj

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

.asm.obj:
        $(ASM) $*;

goal: $(NAME).lib

$(NAME).lib: $(OBJ)
        del $(NAME).lib
        lib $(NAME).lib + $(OBJ) ;

clean:
        del $(NAME).lib
        del *.res
        del *.obj
        del *.map
        del *.sym


# START Dependencies  

4d.obj: 4d.c 4d.h
transfor.obj: transfor.c transfor.h 4d.h