5 LIB_OBJS = miracle_log.o \
11 miracle_unit_commands.o
13 OBJS = $(APP_OBJS) $(LIB_OBJS)
15 CFLAGS = -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
17 LDFLAGS = -L ../valerie -lvalerie -L ../framework -lmlt
23 $(TARGET): $(APP_OBJS) libmiracle.so
24 $(CC) -o $@ $(APP_OBJS) -L. -lmiracle $(LDFLAGS)
26 libmiracle.so: $(LIB_OBJS)
27 $(CC) -shared -o $@ $(LIB_OBJS) $(LDFLAGS)
30 $(CC) -MM $(CFLAGS) $^ 1>.depend
36 rm -f $(OBJS) $(TARGET) libmiracle.so
38 ifneq ($(wildcard .depend),)