X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=174a5c932a2768c8cd02e3770a5e7c32fe0455ef;hb=fece0ecea4efde1a2df3d78f793935315dcb2c02;hp=57e750e359cca0e3645f6664c59f260c2bf1e522;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index 57e750e..174a5c9 100644 --- a/src/inigo/Makefile +++ b/src/inigo/Makefile @@ -5,7 +5,7 @@ TARGET = inigo OBJS = inigo.o \ io.o -CFLAGS += -I.. $(RDYNAMIC) +CFLAGS += -I.. $(RDYNAMIC) -DVERSION=\"$(version)\" LDFLAGS += -L../framework -lmlt @@ -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