[SVN Migration r61265]
[framework/uifw/elementary.git] / TC / elm_ts / box / Makefile
1 CC ?= gcc
2
3 TARGETS = utc_UIFW_elm_box_add_func \
4           utc_UIFW_elm_box_horizontal_set_func \
5           utc_UIFW_elm_box_homogenous_set_func \
6           utc_UIFW_elm_box_pack_start_func \
7           utc_UIFW_elm_box_pack_end_func \
8           utc_UIFW_elm_box_pack_before_func \
9           utc_UIFW_elm_box_pack_after_func \
10           utc_UIFW_elm_box_clear_func \
11           utc_UIFW_elm_box_unpack_func \
12           utc_UIFW_elm_box_unpack_all_func 
13           
14
15 PKGS = elementary
16
17 LDFLAGS = `pkg-config --libs $(PKGS)`
18 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
19 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
20 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
21
22 CFLAGS = -I. `pkg-config --cflags $(PKGS)`
23 CFLAGS += -I$(TET_ROOT)/inc/tet3
24 CFLAGS += -Wall
25
26 all: $(TARGETS)
27
28 $(TARGET): %: %.c
29         $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
30
31 clean:
32         rm -f *~ *.o tet_captured tet_lock $(TARGETS)