even better, yes good

This commit is contained in:
Dan Buch 2012-04-10 00:04:36 -04:00
parent d5f3178fe5
commit c4412f7a15

View File

@ -3,11 +3,11 @@ TARGETS := $(patsubst %,$(HOME)/.%,$(SOURCES))
$(HOME)/.%: %
if [ -f '$^' ] ; then \
@(if [ -f '$^' ] ; then \
cp -v '$^' '$@' ; \
elif [ -d '$^' ] ; then \
mkdir -p '$@' ; \
fi
fi)
all: $(TARGETS)