3 SRCS = desc.c s_hal.c s_phonet.c s_rfs.c s_nvdata.c s_dispatch.c s_common.c \
7 PKGS = glib-2.0 lcm tapi tcore
10 CFLAGS = -Wall -g -fPIC `pkg-config --cflags $(PKGS)` -I.
11 LIBS = -rdynamic -fPIC -ldl \
12 `pkg-config --libs $(PKGS)`
18 $(CC) $^ $(LIBS) -shared -o $(TARGET)
21 $(CC) $(CFLAGS) -c $^ -o $@
24 rm -f $(OBJS) $(TARGET)