3 C_FILES = $(shell ls *.c)
5 PKGS = capi-media-radio gthread-2.0
7 LDFLAGS = `pkg-config --libs $(PKGS)`
8 LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
9 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
10 LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
12 CFLAGS = -I. `pkg-config --cflags $(PKGS)`
13 CFLAGS += -I$(TET_ROOT)/inc/tet3
16 #TARGETS = $(C_FILES:%.c=tc-%)
17 TCS := $(shell ls -1 *.c | cut -d. -f1)
22 $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)