#
# for more complex applications you may have to use a make file
#
# this make file illustrates how to compile and link without cl386
#
# invoke with
#   imake
#
# to build the examples
#
# this make file creates program map files which you can use to find your
# way around in the debugger.  It isn't the greatest, but it is all I have
# right now.
#
.c.exe:
        &cl386 /W32CON $&.c

EXES = argenv.exe curdir.exe direct.exe exten.exe find.exe lf.exe \
        vararg.exe whereis.exe pragma.exe

all: $(EXES)

pragma.exe:
        cc386 -DERROR -DWARNING pragma.c
        # no sense in linking it since it gives an error

argenv.exe: argenv.c
        cl386 /W32CON argenv.c ..\lib\wildargs.obj