diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-09-28 00:31:09 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-09-28 00:31:09 -0500 |
commit | 18fce140750d8b01988b875dc00bfa7ddbf28848 (patch) | |
tree | b3ca9dc518a01cc37de179d13711583f17d95b8a /Makefile | |
parent | 07cf29d61746c130cf9c5ef5fe86c8204eb26408 (diff) | |
download | conf-18fce140750d8b01988b875dc00bfa7ddbf28848.tar.gz conf-18fce140750d8b01988b875dc00bfa7ddbf28848.zip |
add timettyrec.c and a makefile rule to build it
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |