diff options
author | jy910.yun <jy910.yun@samsung.com> | 2012-08-21 19:11:00 +0900 |
---|---|---|
committer | jy910.yun <jy910.yun@samsung.com> | 2012-08-21 19:11:00 +0900 |
commit | 084b8672dd390c1338a7949ebe91ad76f081a29e (patch) | |
tree | 2f6a5a833bbd67aaee97bb644d4b739a38b40f3c /TC/testcase/Makefile | |
parent | 24c06363581c4713b198e0c12d6c01ae380da000 (diff) | |
download | haptic-master.tar.gz haptic-master.tar.bz2 haptic-master.zip |
patch tizen_2.0_buildHEADsubmit/master/20120920.1510252.0_alphamaster2.0alpha
Diffstat (limited to 'TC/testcase/Makefile')
-rwxr-xr-x | TC/testcase/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile new file mode 100755 index 0000000..04df82b --- /dev/null +++ b/TC/testcase/Makefile @@ -0,0 +1,28 @@ +CC = gcc + +C_FILES = $(shell ls *.c) + +PKGS = dlog capi-system-haptic + +#TET_ROOT = /home/idkiller/work/tetware/TETware/tetware-target + +LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o +LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s +LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s +LDFLAGS += `pkg-config --libs $(PKGS)` + +CFLAGS += `pkg-config --cflags $(PKGS)` +CFLAGS += -I. +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) |