# Copyright (c) 1991 Microsoft Corporation. All rights reserved.

all: app1.exe app2.exe

# rules

.c.obj:
    cl -c -AS -Gsw -Oas -Zipe -W3 $<

.rc.res:
    rc -r $<

app1.res: app1.rc app.h
app2.res: app2.rc app.h
app.obj: app.c app.h

app1.exe: app.obj app1.def app1.res
    link /CO /NOD app, app1, nul, libw slibcew, app1.def
    rc -v app1.res

app2.exe: app.obj app2.def app2.res
    link /CO /NOD app, app2, nul, libw slibcew, app2.def
    rc -v app2.res
