diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:08:27 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:08:27 +0900 |
commit | 990ea211013af6cfc2353b9e324ed84741f59981 (patch) | |
tree | d6814e0b06c41adf029ba4ea844fb7ece62192d7 /TC/testcase/Makefile | |
parent | f9da34d8d37d591db18bd6a19f0fe029cef35965 (diff) | |
download | bluetooth-990ea211013af6cfc2353b9e324ed84741f59981.tar.gz bluetooth-990ea211013af6cfc2353b9e324ed84741f59981.tar.bz2 bluetooth-990ea211013af6cfc2353b9e324ed84741f59981.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.075642tizen_2.3.1
Diffstat (limited to 'TC/testcase/Makefile')
-rw-r--r-- | TC/testcase/Makefile | 24 |
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) |