#
#   Makefile for XPANDDLG sample application
#   Copyright (c) 1992 Microsoft Corporation. All rights reserved.
#

CC     =   cl -c -AM -Gsw -nologo -Od -W3 -Zipe
LN     =   link /m/CO/NOD/NOE/NOL/A:16
SRC    =   xpanddlg.c init.c
OBJ    =   xpanddlg.obj init.obj

.c.obj      :
				echo Compiling: $*.c
				$(CC) -NT $* $*.c >$*.err
				type $*.err
				del $*.err

xpanddlg.exe    :   $(OBJ) xpanddlg.res xpanddlg.def
				echo Linking: xpanddlg.exe
				$(LN) $(OBJ), xpanddlg.exe, xpanddlg.map, mlibcew libw, xpanddlg.def
				echo Adding Resources
				rc -v xpanddlg.res xpanddlg.exe

xpanddlg.res    :   xpanddlg.rc global.h xpanddlg.ico
				echo RCing: xpanddlg.rc
				rc -r xpanddlg.rc

