summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-20 03:03:01 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-20 03:03:01 -0400
commitfd4287e4336718472598ea7bb42ee5fd82bec010 (patch)
treee82611575c4dd7618eaabdde4d8fc52bbe26bbb0 /GNUmakefile
parent7ec3b29df681306dcbccf351ed9f4aa33cdbcbcb (diff)
downloadcryptopp-git-fd4287e4336718472598ea7bb42ee5fd82bec010.tar.gz
Add LLVM bitcode to temporaies cleaned by 'make distclean' rule
Diffstat (limited to 'GNUmakefile')
-rwxr-xr-xGNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d7855da8..c45dc8ad 100755
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -521,7 +521,7 @@ endif
distclean: clean
-$(RM) adhoc.cpp adhoc.cpp.copied GNUmakefile.deps benchmarks.html cryptest.txt cryptest-*.txt
-$(RM) CMakeCache.txt Makefile CTestTestfile.cmake cmake_install.cmake cryptopp-config-version.cmake
- -$(RM) cryptopp.tgz *.o *.ii *.s *~
+ -$(RM) cryptopp.tgz *.o *.bc *.ii *.s *~
ifneq ($(wildcard CMakeFiles/),)
-$(RM) -r CMakeFiles/
endif
@@ -746,6 +746,9 @@ endif
%.export.o : %.cpp
$(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
+%.bc : %.cpp
+ $(CXX) $(CXXFLAGS) -c $<
+
%.o : %.cpp
$(CXX) $(CXXFLAGS) -c $<