########################################################################
#                                                                      #
#                    S P E C I F I C A T I O N S                       #
#                                                                      #
########################################################################
#                                                                      #
#   MODULE NAME:  sampwin.mak                                          #
#   DESCRIPTIVE NAME:  JPEG Microsoft Windows 3.0 Sample Code Make File#
#                                                                      #
#   FUNCTION:  This file is used by Microsoft C 6.00 "nmake" command to#
#              create a JPEG Sample Program                            #
#                                                                      #
########################################################################

flags=/Zi /W3 /Fs /Fc /Ow
defines=/DMS_WIN /DWINDOWS
comflags=/J /Gsw /Zp /c $(defines)
EXECFLAGS=/ALw $(comflags) $(flags)         # flags for the compiler
EXELFLAGS=/CO /STACK:24576 /NOD /LIN /MAP   # flags for the linker
CC=cl                                       # compiler used.
#----------------------------------------------------------------------------
sampwin.exe: winsamp.obj
        link @<<
        $(obj)winsamp.obj
        $@
        $* $(EXELFLAGS)
        $(lib)jpegwin+
        llibcew+libw
        sampwin.def
<<
        rc sampwin.res

sampwin.obj:  winsamp.c
        $(CC) $(EXECFLAGS) /Fo$@ winsamp.c

sampwin.res : sampwin.rc
     rc -r sampwin.rc
