
# Jamfile for plot library and test program

#PREF_CCFLAGS 	= $(CCOPTFLAG) ;		# Turn optimisation on
PREF_CCFLAGS	= $(CCDEBUGFLAG) ;		# Debugging flags
PREF_LINKFLAGS	= $(LINKDEBUGFLAG) ;

# Compile .c as .m
if $(OS) = MACOSX {
	ObjectCcFlags plot : -ObjC ;
	ObjectCcFlags plot_plot : -ObjC ;
}

# PLOT library
Library libplot : plot.c : : : ../h ../numlib ../spectro ;
if $(UNIX) && $(OS) != MACOSX {
  ObjectHdrs plot : $(LibWinH) ;
}

# Individual stand alone test of plot library
MainVariant plot : plot.c : : STANDALONE_TEST : ../h ../numlib ../spectro : : ../spectro/libconv.lib ../numlib/libnum.lib ;

# VRML plot library
Library libvrml : vrml.c : : : ../h ../icc ../cgats ../numlib ../gamut ;

#MainsFromSources t.c ;

