aboutsummaryrefslogtreecommitdiffstats
path: root/mass_profile/Makefile
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-17 09:24:48 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-17 09:24:48 +0800
commit7a072e11681813753446fc3aeb3759f46c77b468 (patch)
tree0acf82d49568b4d0ab67cb259988824e39914a90 /mass_profile/Makefile
parent6db1d573aeec73c7e9c7d8f8d6018da6b3d8bc73 (diff)
downloadchandra-acis-analysis-7a072e11681813753446fc3aeb3759f46c77b468.tar.bz2
Makefile: Enable '-Werror' flag and a minor cleanup
Diffstat (limited to 'mass_profile/Makefile')
-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)