#system epoc img
#model small jpi

#message "Epoc/Os CLIB library project file"

#pragma check(index=>off,
              range=>off,
              overflow=>off,
              stack=>off,
              nil_ptr=>off
             )
#pragma optimize(speed=>off)
#pragma option(ansi=>off)

#pragma define( _ENV => off, _WINDOWS => off, _DLL => off, _OVL => off, _OS2 => off, _WINDLL=>off)
#pragma define( _SMALL_INLINE=>on)
#pragma define( _EPOC=>on)

#message "Compiling standard object files"
#compile iplib.a
#compile iplib2.a
#compile iplib8.a
#compile iclib2.a
#compile iclib4.a
#compile iclib.a
#compile icat.a
#compile nofloat.a
#compile r_emul.a
#dolink dummy.lib

#message "Compiling RLIB library files"
#compile coreinit.a
#compile corertl.a
#compile cpplow.a
#compile new.cpp
#message "Making shared library RLIB.LIB"
#dolink rlib.lib

#message "Compiling core CLIB library files"
#compile coremain.a
#compile coresig.a
#compile coremath.a
#compile corefile.a
#compile coremem.a
#compile coreio.a

#message "Compiling CLIB C library files"
#compile cdata.c
#compile clib1.a
#compile clib2.c
#compile printf.c
#compile scanf.c
#compile cstr.a
#compile cio1.a
#compile cio2.c
#compile csys.c
#compile epoc.a
#compile epoc1.c

#message "Compiling CLIB CPP library files"
#compile bcd.cpp
#compile complex.cpp
#compile coniostr.cpp
#compile fstream.cpp
#compile ioinline.cpp
#compile iostream.cpp
#compile stdiostr.cpp
#compile stream.cpp
#compile strstrea.cpp

#message "Making C library CLIB.LIB"
#dolink clib.lib

