package pspaWT build_strategy no_prototypes include_path none use Platform v1r* $(PSPAWTROOT)/../Interfaces use dld v2r* $(PSPAWTROOT)/../Interfaces use Wt v1r* $(PSPAWTROOT)/../Interfaces use boost v1r* $(PSPAWTROOT)/../Interfaces include_dirs $(PSPAWTROOT)/include #library PSPSLib \ # ../src/pspa.C macro lib_PSPSLib_cppflags " ${Wt_cflags} ${boost_cflags} -DTHREADED -DDRAWWT_BUILD" #macro PSPSLib_shlibflags " ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts} -F/System/Library/Frameworks " #macro PSPSLib_linkopts " -L${PSPAWTROOT}/$(Platform_bin) -lPSPSLib " application pspaWt GWt_cell.cc GWt_initialBeam.cc GWt_globalParameters.cc GWt_drift.cc dataManager.cc elementDrift.cc elementCell.cc elementInitialBeam.cc globalParameters.cc LigneFaisceau.cc GWt_pspaApplication.cc main.cc use_cppflags='" ${lib_PSPSLib_cppflags} "' macro DrawWt_linkopts " ${PSPSLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}" # DEBUG : macro_append cflags " -W -Wall -g" WIN32 "-W /ZI /Od" macro_append cppflags " -W -Wall -g" WIN32 " /ZI /Od" macro_append cpplinkflags " -W -Wall -g" WIN32 "/DEBUG /VERBOSE:LIB" # OPTIMIZE : #macro_append cflags " -O" WIN32 " /O2" #macro_append cppflags " -O" WIN32 " /O2" #macro_append cpplinkflags " -O" WIN32 ""