aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mass_profile/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/mass_profile/Makefile b/mass_profile/Makefile
index bd8a70e..2f9ed26 100644
--- a/mass_profile/Makefile
+++ b/mass_profile/Makefile
@@ -8,8 +8,8 @@
CXX ?= g++
-#CXXFLAGS += -Wall -Werror
CXXFLAGS += -Wall
+CXXFLAGS += -Werror
ifdef OPENMP
CXXFLAGS += -fopenmp
@@ -100,9 +100,6 @@ report_error.o: report_error.cpp report_error.hpp
dump_fit_qdp.o: dump_fit_qdp.cpp dump_fit_qdp.hpp
$(CXX) $(CXXFLAGS) -c $< $(OPT_UTIL_INC)
-%.o: %.cc
- $(CXX) $(CXXFLAGS) -c $< $(OPT_UTIL_INC)
-
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< $(OPT_UTIL_INC)