X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=0e80dbfb1a1039d7472a35ccb2808f02893ea705;hb=4c7f6cfcb34ddde69112a2d877eb4fb6c380091a;hp=57e750e359cca0e3645f6664c59f260c2bf1e522;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index 57e750e..0e80dbf 100644 --- a/src/inigo/Makefile +++ b/src/inigo/Makefile @@ -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