diff options
author | wjoe <joe@lc8n.com> | 2012-05-04 15:28:45 +0100 |
---|---|---|
committer | wjoe <joe@lc8n.com> | 2012-05-04 15:28:45 +0100 |
commit | fd8ba0c49772daced43e8b3e7de95fac1d15e127 (patch) | |
tree | 9a9057a91b69746df34ee244988b58efa2e4aa66 | |
parent | 22ea1558213db7e1ef5172d6ddb73c6f0f24507f (diff) |
Added Makefile
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | blarandom.cpp | 6 |
2 files changed, 13 insertions, 3 deletions
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 |