#
# MAKE file for Microsoft C, to make CSWITCH sample programs.
#
# To invoke :
#  C:>make maketst
#

CFLAGS = /AL /Gs /c

test1.exe : test1.c
    cl /AS /c test1.c
    link /E test1 smtc;

test2.exe : test2.c
    cl /AS /c test2.c
    link /E test2 smtc;

test3.exe : test3.c
    cl /AS /c test3.c
    link /E test3 smtc;

test4.exe : test4.c
    cl /AS /c test4.c
    link /E test4 smtc;

test5.exe : test5.c
    cl /AS /c test5.c
    link /E test5 smtc;

mt.obj : mt.c tcb.h
    cl $(CFLAGS) mt.c

mttest.obj : mttest.c tcb.h
    cl $(CFLAGS) mttest.c

mt.exe : cswitch1.obj mt.obj cswitch2.obj lmtc.obj
    link /E mt cswitch1 cswitch2 lmtc;

mttest.exe : cswitch1.obj mttest.obj cswitch2.obj lmtc.obj
    link /E mttest cswitch1 cswitch2 lmtc;

