added uninstall make targets
[melted] / src / humperdink / Makefile
index c27adae..47ba3ed 100644 (file)
@@ -20,7 +20,7 @@ $(TARGET): $(OBJS)
 depend:        $(SRCS)
                $(CC) -MM $(CFLAGS) $^ 1>.depend
 
-dist-clean:    clean
+distclean:     clean
                rm -f .depend
 
 clean: 
@@ -30,6 +30,9 @@ install:      all
        install -d "$(DESTDIR)$(bindir)"
        install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
 
+uninstall:
+       rm -f "$(DESTDIR)$(bindir)/$(TARGET)"
+
 ifneq ($(wildcard .depend),)
 include .depend
 endif