> 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 _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
