我需要在我的makefile中生成一个目录,我想不要一遍又一遍地得到"目录已存在错误",即使我可以轻易忽略它.
我主要使用mingw/msys但是想要能够在其他shell /系统中运行的东西.
我试过这个,但它没有用,有什么想法?
ifeq (,$(findstring $(OBJDIR),$(wildcard $(OBJDIR) ))) -mkdir $(OBJDIR) endif
directory makefile exists
directory ×1
exists ×1
makefile ×1