game1.exe : canvas.obj errdisp.obj game1.obj game1.ico game1.res
 @c:
 @%write game1.lk1 NAME game1
 @%append game1.lk1 FIL canvas.obj,errdisp.obj,game1.obj
 @%append game1.lk1

#
# Note here that you _must_ include the library mmpm2.lib when you link
#

 wlink SYS os2v2 pm op st=32K libr mmpm2.lib op q @game1.lk1
 rc -i C:\TOOLKIT\H -i C:\WATCOM\H game1.res game1.exe

# Command line switches:
#
# -zq       Quiet mode
# -otexan   Optimization switches.  Fastest possible code.
# -mf       Flat memory model
# -3r       Generate code for 386 timings with
#            register based parameter passing
# -bt=os2   Build OS/2 app.

canvas.obj : canvas.cpp
 wpp386 canvas.cpp -i=C:\TOOLKIT\H;C:\WATCOM\H -zq -otexan -mf -3r -bt=os2

errdisp.obj : errdisp.cpp
 wpp386 errdisp.cpp -i=C:\TOOLKIT\H;C:\WATCOM\H -zq -otexan -mf -3r -bt=os2

game1.obj : game1.cpp
 wpp386 game1.cpp -i=C:\TOOLKIT\H;C:\WATCOM\H -zq -otexan -mf -3r -bt=os2

game1.res : game1.rc
 rc -i C:\TOOLKIT\H -i C:\WATCOM\H -r game1.rc game1.res

