changeset 8:1d2839ecabda

add thread test source.
author taiki
date Sat, 29 Dec 2012 12:02:56 +0900
parents 2698082de0ea
children 2ce34a5ff69b
files cbc_thread/Makefile cbc_thread/cbc_thread_test.c
diffstat 2 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cbc_thread/Makefile	Sat Dec 29 12:02:56 2012 +0900
@@ -0,0 +1,15 @@
+CC=cbc-gcc-4.6.0
+CFLAGS= -Wall \
+		-O2 \
+		-g \
+		-o
+
+
+TARGET=cbc_thread_test
+
+$(TARGET): cbc_thread_test.c
+	cp $^ cbc_thread_test.cbc
+	$(CC) $(CFLAGS) $@ $^
+
+clean:
+	rm -r $(TARGET) *.cbc *.dSYM
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cbc_thread/cbc_thread_test.c	Sat Dec 29 12:02:56 2012 +0900
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <pthread.h>
+
+int main()
+{
+    return 0;
+}