DOSCALLS=..\..\lib\doscalls.lib

!ifdef DEBUG
cDEBUG=-Zi
lDEBUG=/cod
!else
cDEBUG=
lDEBUG=
!endif

all: imagconv.exe

imagconv.obj: imagconv.c
        cl -c -W3 -AM -G2s -Od -Zep1 imagconv.c

imagconv.exe: imagconv.obj imagconv.def
	link imagconv/NOD, imagconv/al:16, imagconv/m, mlibcep os2, imagconv.def
	bind imagconv $(DOSCALLS)


