summaryrefslogtreecommitdiff
path: root/c,cc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'c,cc/Makefile')
-rw-r--r--c,cc/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/c,cc/Makefile b/c,cc/Makefile
new file mode 100644
index 0000000..64008d1
--- /dev/null
+++ b/c,cc/Makefile
@@ -0,0 +1,17 @@
+CFLAGS += -pedantic -Wall -std=c99
+
+compression_test: compression_test.cc
+ g++ compression_test.cc -lboost_filesystem -lboost_iostreams -o compression_test
+
+vector_addition: vector_addition.c
+ gcc -Os vector_addition.c -o vector_addition
+
+vector_addition_cuda: vector_addition.cu
+ nvcc vector_addition.cu -o vector_addition_cuda
+
+vector_addition_cuda1: vector_addition1.cu
+ nvcc vector_addition1.cu -o vector_addition_cuda1
+
+thread_test: thread_test.c
+ gcc thread_test.c -lpthread -o thread_test
+