added :EOF as a top level command and fixed CXXFLAGS
merge