summaryrefslogtreecommitdiff
path: root/TC/testcase/Makefile
diff options
context:
space:
mode:
authorSeunghun Lee <shiin.lee@samsung.com>2012-08-21 21:18:29 +0900
committerSeunghun Lee <shiin.lee@samsung.com>2012-08-21 21:18:29 +0900
commitd130edf25d890a3fd6585f5c7649f1be34413740 (patch)
tree2f38e0ecf684b5ebc4af247b7440335d75962a13 /TC/testcase/Makefile
parentdcf72b8eb11ba639b3617674dc098cfc264c5ce5 (diff)
downloadefl-util-master.tar.gz
efl-util-master.tar.bz2
efl-util-master.zip
Migrating the source code to RSA from private.HEADsubmit/master/20120920.1510232.0_alphamaster2.0alpha
Diffstat (limited to 'TC/testcase/Makefile')
-rwxr-xr-xTC/testcase/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile
new file mode 100755
index 0000000..0d15f65
--- /dev/null
+++ b/TC/testcase/Makefile
@@ -0,0 +1,26 @@
+CC = gcc
+
+C_FILES = $(shell ls *.c)
+
+PKGS = capi-ui-efl-util elementary ecore-x ecore evas x11 dlog glib-2.0
+
+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)