Create directories using make file

前端 未结 9 2067
情深已故
情深已故 2020-11-28 21:27

I\'m a very new to makefiles and i want to create directories using makefile. My project directory is like this

+--Project  
   +--output  
   +--source  
           


        
9条回答
  •  日久生厌
    2020-11-28 22:32

    given that you're a newbie, I'd say don't try to do this yet. it's definitely possible, but will needlessly complicate your Makefile. stick to the simple ways until you're more comfortable with make.

    that said, one way to build in a directory different from the source directory is VPATH; i prefer pattern rules

提交回复
热议问题