From f86f17044bb30a6a815c381ec70fd91482ae3477 Mon Sep 17 00:00:00 2001
From: "Marcus M. Darden" <mmdarden@umich.edu>
Date: Wed, 4 Oct 2017 08:42:03 -0400
Subject: [PATCH] Add support for .hpp files.

---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 6652ebb..7c4fe94 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ define make_tests
     endif
     SRCS = $$(filter-out $$(PROJECTFILE), $$(SOURCES))
     OBJS = $$(SRCS:%.cpp=%.o)
-    HDRS = $$(wildcard *.h)
+    HDRS = $$(wildcard *.h *.hpp)
     $(1): CXXFLAGS += -g3 -DDEBUG
     $(1): $$(OBJS) $$(HDRS) $(1).cpp
 	$$(CXX) $$(CXXFLAGS) $$(OBJS) $(1).cpp -o $(1)
@@ -117,7 +117,7 @@ clean:
 	rm -Rf *.dSYM
 
 # make partialsubmit.tar.gz - cleans, runs dos2unix, creates tarball omitting test cases
-PARTIAL_SUBMITFILES=$(filter-out $(TESTSOURCES), $(wildcard Makefile *.h *.cpp))
+PARTIAL_SUBMITFILES=$(filter-out $(TESTSOURCES), $(wildcard Makefile *.h *.hpp *.cpp))
 $(PARTIAL_SUBMITFILE): $(PARTIAL_SUBMITFILES)
 	rm -f $(PARTIAL_SUBMITFILE) $(FULL_SUBMITFILE)
 	-dos2unix $(PARTIAL_SUBMITFILES)
@@ -125,7 +125,7 @@ $(PARTIAL_SUBMITFILE): $(PARTIAL_SUBMITFILES)
 	@echo !!! WARNING: No test cases included. Use 'make fullsubmit' to include test cases. !!!
 
 # make fullsubmit.tar.gz - cleans, runs dos2unix, creates tarball including test cases
-FULL_SUBMITFILES=$(filter-out $(TESTSOURCES), $(wildcard Makefile *.h *.cpp test*.txt))
+FULL_SUBMITFILES=$(filter-out $(TESTSOURCES), $(wildcard Makefile *.h *.hpp *.cpp test*.txt))
 $(FULL_SUBMITFILE): $(FULL_SUBMITFILES)
 	rm -f $(PARTIAL_SUBMITFILE) $(FULL_SUBMITFILE)
 	-dos2unix $(FULL_SUBMITFILES)
-- 
GitLab