X-Git-Url: https://mattmccutchen.net/bigint/bigint.git/blobdiff_plain/b3fe29df9a21e6ade45c470b9b2632e9f75a7aaa..b1f5f69ee6a55e326f1336a3967513fd22f57d7f:/Makefile diff --git a/Makefile b/Makefile index 3a36e94..626b7f9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # Matt McCutchen's Big Integer Library -# http://mysite.verizon.net/mccutchen/bigint/ +# http://hashproduct.metaesthetics.net/bigint/ # # The implicit rules we need @@ -10,9 +10,11 @@ g++ -c -O -Wall -Wextra -pedantic $< # Default target -library : NumberlikeArray.hh.tag BigUnsigned.o BigInteger.o BigUnsignedInABase.o BigIntegerUtils.o +all : library sample -# Extra `include' dependencies +library : BigUnsigned.o BigInteger.o BigUnsignedInABase.o BigIntegerUtils.o + +# Extra dependencies from `#include' BigUnsigned.hh.tag : NumberlikeArray.hh.tag BigUnsigned.o : BigUnsigned.hh.tag BigInteger.hh.tag : BigUnsigned.hh.tag @@ -29,7 +31,7 @@ sample : library sample.cc clean : rm -f *.tag *.o sample -# The ``.tag'' mechanism allows for proper recompilation when a header file +# The `.tag' mechanism allows for proper recompilation when a header file # changes, considering that some header files may include others. # # If a header file X includes other header