#
#  MAKE file for FLSHEDIT program
#  Copyright (c) 1992 Microsoft Corporation. All rights reserved.
#

# ---- Compiler & Linker options ----
clopts=-c -Gws -Zip -Od -W2 
linkopts= /align:16 /NOD /NOE /CO


# ---- List of object files ----
objfiles=flshedit.obj mainwnd.obj init.obj aboutdlg.obj flshdlg.obj


# ---- Actual build dependencies ----
all: flshedit.exe

flshedit.res: flshedit.rc
    rc -r flshedit.rc

flshedit.obj: flshedit.c global.h init.h
    cl $(clopts) flshedit.c

init.obj: init.c init.h mainwnd.h global.h
    cl $(clopts) init.c

mainwnd.obj: mainwnd.c mainwnd.h global.h aboutdlg.h flshdlg.h 
    cl $(clopts) mainwnd.c

aboutdlg.obj: aboutdlg.c aboutdlg.h
    cl $(clopts) aboutdlg.c

flshdlg.obj: flshdlg.c flshdlg.h global.h
    cl $(clopts) flshdlg.c

flshedit.exe:: $(objfiles) flshedit.mak flshedit.def flshedit.res
    link $(linkopts) $(objfiles), flshedit, NUL, slibcew libw, flshedit
    rc flshedit.res
    
flshedit.exe:: flshedit.res
    rc flshedit.res
