# =============================================================================
# makefile -- nmake file for the ResGauge application.
# -----------------------------------------------------------------------------
# C compiler flags:
#   -c     compile only
#   -G2sw  generate 80286 code
#          disable stack checking
#          generate Windows prolog/epilog code
#   -Ow    disable aliasing across calls
#   -W3    warn about missing function prototypes
#   -Zp    pack structures on byte boundaries
# =============================================================================


all: resgauge.exe

resgauge.res: resgauge.rc resgauge.h resgauge.ico
    rc -r resgauge.rc

resgauge.obj: resgauge.c resgauge.h
    cl -c -G2sw -Ow -W3 -Zp resgauge.c

resgauge.exe: resgauge.obj resgauge.def resgauge.res
    link resgauge, /align:16, nul, /nod libw slibcew, resgauge
    fixds resgauge.exe
    rc -t resgauge.res


# ===============
# end of makefile
# ===============
