Looks simple and clean.

Makefile should contain uninstall rule:

diff -r 24c81cd5e477 makefile
--- a/makefile  Sun Jan 03 15:37:05 2010 +0300
+++ b/makefile  Sun Jan 03 19:45:35 2010 +0200
@@ -15,6 +15,9 @@
 install: $(PROG)
        cp $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
 
+uninstall:
+       rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG)
+
 clean:
        rm -f $(OBJS) $(PROG)


Reply via email to