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

.SUFFIXES: .c .o

.all: \
    sample03.dll

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

sample03.dll: \
    sample03.def \
    {$(LIB)}crti.o {$(LIB)}crt1_le.o \
    initterm.o sample03.o \
    {$(LIB)}cppps31.lib {$(LIB)}libci.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 sample03.dll

initterm.o: \
    initterm.c

sample03.o: \
    sample03.c \
    sample03.h

clean:
	erase sample03.dll initterm.o sample03.o


