From: j8takagi Date: Mon, 15 Oct 2012 02:43:24 +0000 (+0900) Subject: インストール自動化のため、Makefile追加 X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=logcat.git;a=commitdiff_plain;h=c265fc5891c549363a7101e70083caf0d3da48ba インストール自動化のため、Makefile追加 --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f72d59e --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.PHONY: build install + +PREFIX = /usr/local +INSTALLDIR = $(PREFIX)/bin + +ECHO = echo +INSTALL = install +build: + @$(ECHO) "nothing is needed to build." + +install: logcat dpkg-history + $(INSTALL) -m 755 logcat $(INSTALLDIR) + $(INSTALL) -m 755 dpkg-history $(INSTALLDIR) + +clean: + @$(ECHO) "nothing is needed to clean."