SubDir OBOS_TOP src tests add-ons kernel file_systems befs array ;

SubDirHdrs $(OBOS_TOP) src add-ons kernel file_systems bfs ;

{
	local defines = [ FDefines USER DEBUG ] ; # _NO_INLINE_ASM
	SubDirCcFlags $(defines) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage
	SubDirC++Flags $(defines) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage
}

SimpleTest arrayTest
	: array.cpp
	  Utility.cpp
	: be ;

SimpleTest smallArrayTest
	: smallArray.cpp
	  Utility.o
	: be ;

# Tell Jam where to find these sources
SEARCH on [ FGristFiles Utility.cpp ]
	= [ FDirName $(OBOS_TOP) src add-ons kernel file_systems bfs ] ;

