I need to generate a directory in my makefile and I would like to not get the \"directory already exists error\" over and over even though I can easily ignore it.
I
You can use the test command:
test -d $(OBJDIR) || mkdir $(OBJDIR)