From: j8takagi Date: Sun, 3 Mar 2013 10:04:29 +0000 (+0900) Subject: Makefileの作成 X-Git-Url: https://www.j8takagi.net/gitweb?a=commitdiff_plain;h=8f1097a2b16b3dc07a10fa338edb308431313a9a;p=ip_update.git Makefileの作成 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1872fa7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +global_ip_chk +mydns_ip_update +login.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b0dabeb --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +prefix ?= ~ +bindir ?= $(prefix)/bin + +INSTALL = install + +TARGETS = mydns_ip_update global_ip_chk + +.PHONY: all install distclean + +all: $(TARGETS) + +install: all + $(INSTALL) -d $(bindir) + $(INSTALL) $(TARGETS) $(bindir)/ + +distclean: + $(RM) $(TARGETS)