diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:09:23 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 22:09:23 +0900 |
commit | be65e40bf1e0825e2fd36e76f21e2e0100e7129c (patch) | |
tree | ba76c4d745d161ed090ba29dd506c8a89e2888dc /TC/testcase/Makefile | |
parent | 936b87081ce4285c8825c08a7b009ab5b0559c2c (diff) | |
download | email-be65e40bf1e0825e2fd36e76f21e2e0100e7129c.tar.gz email-be65e40bf1e0825e2fd36e76f21e2e0100e7129c.tar.bz2 email-be65e40bf1e0825e2fd36e76f21e2e0100e7129c.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.075731tizen_2.3.1
Diffstat (limited to 'TC/testcase/Makefile')
-rwxr-xr-x | TC/testcase/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile new file mode 100755 index 0000000..977b55b --- /dev/null +++ b/TC/testcase/Makefile @@ -0,0 +1,25 @@ +CC ?= gcc + +C_FILES = $(shell ls *.c) + +PKGS = capi-messaging-email dlog 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 + +#TARGETS = $(C_FILES:%.c=tc-%) +TCS := $(shell ls -1 *.c | cut -d. -f1) + +all: $(TCS) + +%: %.c + $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) + +clean: + rm -f $(TCS) |