X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=174a5c932a2768c8cd02e3770a5e7c32fe0455ef;hb=1dbd6a7c0bf508fe28e7be1d851311fd880e1742;hp=eeecf7b9c838c7cff7aade9c8bdf8e6a991e8f2e;hpb=a4799884f16e60db669cdf7ce6e15f160e3c7613;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index eeecf7b..174a5c9 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 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