# Jamfile for changeo
SubInclude PRESTO rtflags ;
SubInclude PRESTO utils ;

if $(PRESTO) = ""
{
    EXIT The environment variable PRESTO is not set to the root of the Presto tree ;
}

SubDir PRESTO changeo src ;

include $(PRESTO)/ifiledefs.jam ;

LINKLIBS on testme.exe = 
    $(PRESTO)/spritelib/src/prestospritelib.lib
    $(PRESTO)/spritelib/src/wntab32x.lib
    $(ROOT)/lib/i386/ddraw.lib
    $(ROOT)/lib/i386/dsound.lib
    $(ROOT)/lib/i386/d3drm.lib
    $(ROOT)/lib/i386/winmm.lib
    $(ROOT)/lib/i386/user32.lib
    $(ROOT)/lib/i386/kernel32.lib
    $(ROOT)/lib/i386/gdi32.lib 
    ;

SUBDIRC++FLAGS = -MTd -D"RUNTIMEFLAGS" -D"_AFXDLL" ;
SUBDIRHDRS     = $(PRESTO)/changeo $(PRESTO)/changeo/inc $(PRESTO)/spritelib/src ;

Main testme :
    test.cpp
    ;

LinkLibraries testme :
    changeo 
    rtflags
    utils
    ;

Library changeo :
    actionb.cpp
    behavior.cpp
    color.cpp
    colorb.cpp
    imageb.cpp
    initializations.cpp
    point2.cpp
    point2b.cpp
    realb.cpp
    rect.cpp
    rectb.cpp
    vector2.cpp
    vector2b.cpp
    ;
