summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-09-04 11:39:52 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-09-04 11:39:52 +0300
commitc61a321f3a9bb235970a1bf40ff6b266a30ab2aa (patch)
treebbb96fb200b246b71fc54409a8da006a62f7c013 /Makefile
parent3ab3d03b8b603f210d878d352b56442eec14f6af (diff)
added cpu heavy loader test code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c1f1b94
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+all:
+ g++ -c *.cpp -I/usr/include -O2 -pipe -fomit-frame-pointer -march=core2
+ #g++ -c *.cpp -I/usr/include -g3 -ggdb -pipe
+ g++ -o loader *.o -lboost_thread-mt -lboost_random-mt -lcurl -Wl,-O1 -s
+ #g++ -o loader *.o -lboost_thread-mt -lboost_random-mt -lcurl
+clean:
+ rm *.o
+clean-all:
+ rm *.o loader
+