You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
258 B

SRC:= emacs-cleaner.go
INSTALL_DIR:= /usr/local/bin
all: clean emacs-cleaner
clean:
rm -f emacs-cleaner
emacs-cleaner:
go build $(SRC)
strip $@
install:
cp -f emacs-cleaner $(INSTALL_DIR)/emacs-cleaner
uninstall:
rm -f $(INSTALL_DIR)/emacs-cleaner