X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=c206a8128c9ea09fb83f4e96463dfd96babea414;hb=93ba5329ea2cadd2ce01b4cceb20f1309fd37bed;hp=296de35a459b0a652f33c61a5e80c3a4938c4f42;hpb=f5a438b319b560eccf511ebf3eed5db9edbac1de;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index 296de35..c206a81 100644 --- a/src/inigo/Makefile +++ b/src/inigo/Makefile @@ -5,9 +5,9 @@ TARGET = inigo OBJS = inigo.o \ io.o -CFLAGS += -I.. -rdynamic +CFLAGS += -I.. $(RDYNAMIC) -DVERSION=\"$(version)\" -LDFLAGS += -L ../framework -lmlt +LDFLAGS += -L../framework -lmlt -lpthread SRCS := $(OBJS:.o=.c) @@ -19,15 +19,18 @@ $(TARGET): $(OBJS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend -dist-clean: clean +distclean: clean rm -f .depend clean: rm -f $(OBJS) $(TARGET) install: all - install -d "$(bindir)" - install -c -s -m 755 $(TARGET) "$(bindir)" + install -d "$(DESTDIR)$(bindir)" + install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)" + +uninstall: + rm -f "$(DESTDIR)$(bindir)/$(TARGET)" ifneq ($(wildcard .depend),) include .depend