Fix for SIM file update
[profile/ivi/tel-plugin-imc.git] / Makefile.manual
1 TARGET  = imc-plugin.so
2
3 SRCS    = desc.c s_hal.c s_phonet.c s_rfs.c s_nvdata.c s_dispatch.c s_common.c \
4                   s_network.c \
5                   s_sim.c
6 OBJS    = $(SRCS:.c=.o)
7 PKGS    = glib-2.0 lcm tapi tcore
8
9 CC              = gcc
10 CFLAGS  = -Wall -g -fPIC `pkg-config --cflags $(PKGS)` -I.
11 LIBS    = -rdynamic -fPIC -ldl \
12                   `pkg-config --libs $(PKGS)`
13
14
15 all: $(TARGET)
16
17 $(TARGET): $(OBJS)
18         $(CC) $^ $(LIBS) -shared -o $(TARGET)
19
20 .c.o: $(SRCS)
21         $(CC) $(CFLAGS) -c $^ -o $@
22
23 clean:
24         rm -f $(OBJS) $(TARGET)