From fd8ba0c49772daced43e8b3e7de95fac1d15e127 Mon Sep 17 00:00:00 2001 From: wjoe Date: Fri, 4 May 2012 15:28:45 +0100 Subject: Added Makefile --- Makefile | 10 ++++++++++ blarandom.cpp | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5befb7c --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +CC = g++ + +blarandom: blarandom.cpp + $(CC) -c -I/usr/local/include blarandom.cpp + $(CC) -g -o blarandom blarandom.o -L/usr/local/lib -lRandom + +clean: blarandom + rm -f blarandom + + diff --git a/blarandom.cpp b/blarandom.cpp index b95c9a0..4db224e 100644 --- a/blarandom.cpp +++ b/blarandom.cpp @@ -20,8 +20,8 @@ Changelog: - v1.0 - Initial release - + v0.1 - Initial release + v0.2 - Added Makefile */ @@ -34,7 +34,7 @@ int main() { - std::string version = "1.0"; + std::string version = "0.2"; RandomLib::Random r; // Create r r.Reseed(); // and give it a unique seed -- cgit v1.2.3