X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Falbino%2FMakefile;h=45b7c8078fbc6cbce8a698d8b2f408295d7e8e95;hb=2bd3c395eac9fb8b02f6b39786659c7d1481872d;hp=7b567788e68980e3d861d11898c043fc17e5cf46;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted diff --git a/src/albino/Makefile b/src/albino/Makefile index 7b56778..45b7c80 100644 --- a/src/albino/Makefile +++ b/src/albino/Makefile @@ -18,15 +18,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