--- UnitTest++/Makefile.orig 2014-06-23 23:49:36.000000000 -0500
+++ UnitTest++/Makefile 2014-09-03 15:24:07.000000000 -0500
-CXXFLAGS ?= -g -Wall -W -Winline -Wno-unused-private-field -Wno-overloaded-virtual -ansi
+CXXFLAGS ?= -g -Wall -W -Winline -Wno-overloaded-virtual -ansi @ARCHFLAGS@
@echo Creating $(lib) library...
- @ar crs $(lib) $(objects)
+ ar crs $(lib) $(objects)
$(test): $(lib) $(test_objects)
- @$(CXX) $(LDFLAGS) -o $(test) $(test_objects) $(lib)
+ $(CXX) $(LDFLAGS) -o $(test) $(test_objects) $(lib)
@echo Running unit tests...
-@$(RM) $(objects) $(test_objects) $(dependencies) $(test_dependencies) $(test) $(lib) 2> /dev/null
@$(call make-depend,$<,$@,$(subst .o,.d,$@))
- @$(CXX) $(CXXFLAGS) -c $< -o $(patsubst %.cpp, %.o, $<)
+ $(CXX) $(CXXFLAGS) -c $< -o $(patsubst %.cpp, %.o, $<)