summaryrefslogtreecommitdiff
path: root/TC/testcase/Makefile
diff options
context:
space:
mode:
authorTaejin Woo <tt.woo@samsung.com>2013-10-23 13:52:15 +0900
committerTaejin Woo <tt.woo@samsung.com>2013-10-23 16:17:20 +0900
commit8bae75a12879a9f3a86ddeaa0561fa53380043d0 (patch)
tree3d3324b1ed537ef661341cc04f3e54f00ed94912 /TC/testcase/Makefile
parent1c303a6746cd73a7cc6f219d954851e1917b8c78 (diff)
downloadbluetooth-8bae75a12879a9f3a86ddeaa0561fa53380043d0.tar.gz
bluetooth-8bae75a12879a9f3a86ddeaa0561fa53380043d0.tar.bz2
bluetooth-8bae75a12879a9f3a86ddeaa0561fa53380043d0.zip
Merge the latest CAPI Private code in Tizen2.2 RSA
We do CAPI Code Sync in tizen2.2 RSA. Change-Id: I6b2eb95b365566b1e6a78744fb3f8dbe0b7281e6
Diffstat (limited to 'TC/testcase/Makefile')
-rw-r--r--TC/testcase/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile
new file mode 100644
index 0000000..7d86802
--- /dev/null
+++ b/TC/testcase/Makefile
@@ -0,0 +1,24 @@
+CC ?= gcc
+
+C_FILES = $(shell ls *.c)
+
+PKGS = capi-network-bluetooth glib-2.0
+
+LDFLAGS = `pkg-config --libs $(PKGS)`
+LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
+LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
+
+CFLAGS = -I. `pkg-config --cflags $(PKGS)`
+CFLAGS += -I$(TET_ROOT)/inc/tet3
+CFLAGS += -Wall
+
+TCS := $(shell ls -1 *.c | cut -d. -f1)
+
+all: $(TCS)
+
+%: %.c
+ $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
+
+clean:
+ rm -f $(TCS)