From 5e527213a2430bb3018e5eebd909aef294edf9b5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- dist/examples/build/cxx/rules.make | 57 -------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 dist/examples/build/cxx/rules.make (limited to 'dist/examples/build/cxx/rules.make') diff --git a/dist/examples/build/cxx/rules.make b/dist/examples/build/cxx/rules.make deleted file mode 100644 index 9f31128..0000000 --- a/dist/examples/build/cxx/rules.make +++ /dev/null @@ -1,57 +0,0 @@ -# file : examples/build/cxx/rules.make -# license : GNU GPL v2 + exceptions; see accompanying LICENSE file - -include $(root)/build/cxx/compilers.make - - -# GNU g++ -# -ifeq ($(cxx_id),gnu) - CXXFLAGS := -W -Wall -O3 -endif - -# Clang -# -ifeq ($(cxx_id),clang) - CXXFLAGS := -W -O3 -endif - -# Intel C++ -# -ifeq ($(cxx_id),intel) - CXXFLAGS := -w1 -O2 -endif - - -# Sun C++ -# -ifeq ($(cxx_id),sun) - CXXFLAGS := -O -endif - - -# HP aCC -# -ifeq ($(cxx_id),hp) - - # By default Xerces-C++ is built with -mt for aCC. - # 2334 no suitable copy constructor (e.g., for std::auto_ptr) - # - CXXFLAGS := -Aa -O -mt +W2334 -endif - - -# IBM XL C++ -# -ifeq ($(cxx_id),ibm) - CXXFLAGS := -qrtti -O -endif - - -# Rules. -# -%.o: %.cxx - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ - -%: %.o - $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) -- cgit v1.1