#
#   Makefile for Plotting Sample Application
#

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

.c.obj      :
        echo Compiling: $*.c
        $(CC) -NT $* $*.c

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

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

