diff --git a/Makefile b/Makefile index 49fd579..7ea68e6 100644 --- a/Makefile +++ b/Makefile @@ -9,15 +9,18 @@ LDFLAGS += all: lewdfingerd -install: all - install lewdfingerd $(BINDIR) - lewdfingerd: lewdfingerd.c $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< -.PHONY: all install clean distclean +.PHONY: all install uninstall clean distclean + +install: all + install lewdfingerd $(BINDIR) + +uninstall: + rm -f $(BINDIR)/lewdfingerd clean: - rm lewdfingerd + rm -f lewdfingerd distclean: clean