+include ../../config.mak
+
TARGET = humperdink
OBJS = client.o \
io.o \
remote.o
-CFLAGS = -O3 -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
-
-LDFLAGS = -L ../valerie -lvalerie
+CFLAGS += -I.. $(RDYNAMIC)
-ifeq ($(MLT_GPROF),true)
-CFLAGS+=-p
-LDFLAGS+=-p
-endif
+LDFLAGS += -L../valerie -L../framework -lvalerie -lmlt
SRCS := $(OBJS:.o=.c)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-dist-clean: clean
+distclean: clean
rm -f .depend
clean:
rm -f $(OBJS) $(TARGET)
+install: all
+ install -d "$(DESTDIR)$(bindir)"
+ install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
+
ifneq ($(wildcard .depend),)
include .depend
endif