summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-09-28 00:31:09 -0500
committerJesse Luehrs <doy@tozt.net>2009-09-28 00:31:09 -0500
commit18fce140750d8b01988b875dc00bfa7ddbf28848 (patch)
treeb3ca9dc518a01cc37de179d13711583f17d95b8a /Makefile
parent07cf29d61746c130cf9c5ef5fe86c8204eb26408 (diff)
downloadconf-18fce140750d8b01988b875dc00bfa7ddbf28848.tar.gz
conf-18fce140750d8b01988b875dc00bfa7ddbf28848.zip
add timettyrec.c and a makefile rule to build it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3f55cba..282ecff 100644
--- a/Makefile
+++ b/Makefile
@@ -34,21 +34,23 @@ INSTALL = abcde.conf \
xmonad
INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL))
+BUILD = bin/nethack/timettyrec
+
ECHO = @echo
LN = @ln -sf
MKDIR = @mkdir -p
RM = @rm -f
-build :
+build : $(BUILD)
-install : $(INSTALLED)
+install : build $(INSTALLED)
$(MKDIR) $(INTO)/.ssh
$(LN) $(PWD)/authorized_keys $(INTO)/.ssh/
$(ECHO) Installed into $(HOME)
clean :
$(ECHO) Cleaning from $(HOME)
- $(RM) $(INSTALLED) $(INTO)/.ssh/authorized_keys
+ $(RM) $(BUILD) $(INSTALLED) $(INTO)/.ssh/authorized_keys
$(INTO)/.% : %
@[ ! -f $@ ] || readlink -q $@ || mv -f $@ $@.bak