↧
Answer by J_H for Makefile to build and test a C program
specificationmake shalt build ...Writing down requirements in English can be very helpful, keep doing it.But please spell it "shall".In KJVit appears fifteen hundred times, in fourteen hundredof them...
View ArticleMakefile to build and test a C program
Requirements:make shalt build read_file program in the root directory of the project from all the files in the src directory, and take care of all the dependencies, and place all .o and .d files in an...
View ArticleAnswer by Harith for Makefile to build and test a C program
Perhaps rename to GNUmakefile:OBJS = $(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(SRCS))The BSDs do not recognize this pattern rule. So the Makefile is specific to GNU make, and would not be understood...
View Article