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