all: alckey.exe

APP_compile = -c -AS -Gw -Zpie -W3 -Od
APP_link = /CO /NOD /NOE


alckey.obj: $*.c $*.h
     cl $(APP_compile) $*.c

alckey.res: $*.rc $*.h
     rc -r $*.rc

alckey.exe: $*.obj $*.def $*.res
     link $(APP_link) $*, $*, $*/map/li /align:16, libw slibcew penwin, $*.def
     rc $*.res
     mapsym $*
