#
# Makefile for CROPDIB sample application.
#

goal: cropdib.exe

.c.obj:
    cl -c -W3 -AS -G2sw -Zip -Od $*.c

cropdib.obj: cropdib.c cropdib.h dib.h

dib.obj: dib.c dib.h

cropdib.res: cropdib.rc cropdib.ico cropdib.h
    rc -r cropdib.rc

cropdib.exe: cropdib.obj dib.obj cropdib.def cropdib.res
    link /CO/NOE/MAP/NOD cropdib dib,,,libw slibcew mmsystem, cropdib.def
    rc cropdib.res

clean:
    -del *.exe
    -del *.obj
    -del *.map
    -del *.res
