|
From: | Rhys Ulerich |
Subject: | Re: make -B and the order-only prerequisites |
Date: | Mon, 30 Apr 2012 20:24:47 -0500 |
> How about having the command in the rule > only create the directory if it doesn't exist? > > DIRS = obj bin > $(DIRS): > test -d $@ || mkdir $@ 'mkdir -p' also comes to mind. - Rhys
[Prev in Thread] | Current Thread | [Next in Thread] |