# sample05.mak
#
# The actions included in this make file are:
#  Compile::C++ Compiler
#  Link::Linker

.SUFFIXES: .c.o

.all: \
    sample05.dll
    copy sample05.dll ..\sample05.dll

.c.o:
    @echo " Compile::C++ Compiler "
    icc.exe /Ti /Rn /Ge- /C %s

sample05.dll: \
    sample05.def \
    {$(LIB)}crti.o {$(LIB)}crt1_le.o {$(LIB)}cpppn31.lib \
    sample05.o {$(LIB)}libcsi.lib {$(LIB)}libconv.lib {$(LIB)}libuls.lib \
    {$(LIB)}libos2.lib  {$(LIB)}libmkimp.lib {$(LIB)}crtn.o
    @echo " Link::Linker "
    ldppc -dy -Bsymbolic -Brogotplt -Bpic -zdefs -Bdynamic -G -L./ -i  $** \
      -o sample05.dll

sample05.o: \
    sample05.c \
    sample05.h


clean:
	erase sample05.dll sample05.o
