goal: pattern.exe

# Update the resource if necessary

pattern.res: pattern.rc pattern.h
    rc -r pattern.rc

# Update the object file if necessary

pattern.obj: pattern.c pattern.h
    cc -c -AM -Gsw -Od -Zipe pattern.c

# Update the executable file if necessary, and if so, add the resource back in.

pattern.exe: pattern.obj pattern.def pattern.res
    link /NOE /COD /NOD pattern,,, libw mlibcew, pattern.def
    rc pattern.res
