#Updated 09/26/07 #DESTDIR= #MyHome=$(DESTDIR)$(HOME) #HOME TO myHome binDir = $(HOME)/bin update: @$(foreach f, $(wildcard *), \ if [ $f -nt $(binDir)/$f ]; \ then echo cp $f $(binDir)/$f; \ cp $f $(binDir)/$f; \ fi;) @$(foreach f, $(wildcard *), \ if [ ! -e $(binDir)/$f ]; \ then echo cp $f $(binDir)/$f; \ cp $f $(binDir)/$f; \ fi;) rm $(binDir)/Makefile rm $(binDir)/*~