CFLAGS = -AMw -G2 -GD -D_WINDOWS
LFLAGS =
LIBS = libw.lib mlibcew.lib

!if "$(DEBUG)"=="y"
CFLAGS = $(CFLAGS) -Zi -D_DEBUG
LFLAGS = $(LFLAGS) /M /CO
!endif

.c.obj:
   $(CC) $(CFLAGS) -c -Fo$(@R).obj $<

evmov3.lib: evmov3.dll
   implib evmov3.lib evmov3.dll

evmov3.dll: evmov3.obj ..\..\evmovd.obj evmov3.def evmov3.res
   link $(LFLAGS) @<<
evmov3.obj+
..\..\evmovd.obj
evmov3.dll
evmov3.map
$(LIBS)
evmov3.def
<<
   rc -t -31 evmov3.res evmov3.dll

evmov3.obj: $(@R).c

evmov3.res: evmov3.rc
   rc -r evmov3.rc
