From 18fce140750d8b01988b875dc00bfa7ddbf28848 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 28 Sep 2009 00:31:09 -0500 Subject: add timettyrec.c and a makefile rule to build it --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf