gnu-make
Problem creating source dependency with file paths including whitespace using find and gcc
I\'m building an embedded software using gnu-make. Sources including their paths are collected using find. The build process fails since some paths/filenames contain whitespace.[详细]
2023-02-03 19:59 分类:问答Using make to translate reST files
I have a bunch of text files in the help_pages/ directory, all formatted in reST. I\'m trying to add to my GNU make Makefile a couple of rules that:[详细]
2023-02-03 11:48 分类:问答How do I modify the dependencies and rules of a GNU makefile target depending upon the platform (Linux vs. OS X)?
I have a (GNU) makefile with an all target that looks like this: .PHONY: all all: $(unittest++_tests_exe) $(cmockery_tests_exe)[详细]
2023-02-02 22:28 分类:问答Creating several precompiled header files using GNU make
I use gcc (running as g++) and GNU make. I use gcc to precompile a header file precompiled.h, creating precompiled.h.gch; the following line in a Makefile does it:[详细]
2023-01-31 03:00 分类:问答What does the `%` character do in GNU Make?
I am using GNU make. In a Makefile that I got, i see the symbol \'%\'. e.g. in context of %.c, %.开发者_如何学Casm , %.o etc.. (Is it a wildcard that will return all the files of that extension)[详细]
2023-01-30 13:01 分类:问答depending on directories in make [duplicate]
This question already has answers here: 开发者_开发技巧 how to prevent "directory already exists error" in a makefile when using mkdir[详细]
2023-01-30 06:57 分类:问答Specifying build dependency in parallel builds using make
This is what I have: Test scripts under a folder that use some executables in the source tree. Sources for the executables used above under a separate folder in the source tree.[详细]
2023-01-30 02:01 分类:问答Convert Cygwin path to Windows path in a makefile
How can I convert a Cygwin style path ( /cygdrive/c/foo/bar ) to Windows style ( C:/foo/bar ) (yes, with / going forward) in a GNU makefile? I have the situation of using Cygwin\'s make with a GCC tha[详细]
2023-01-29 23:14 分类:问答How can I force gnu make to not build recipe in parallel?
How can I tell gnu make not to build some recipe in parallel. Let\'s say I have the following makefile :[详细]
2023-01-28 21:48 分类:问答Dependencies in Makefiles
Suppose I have a Makefile: all: $(BINARY) $(BINARY): $(OBJS) $(DEBUG_OBJS) #Link objects here $(OBJS): headers[详细]
2023-01-28 02:02 分类:问答