gnu-make
How can I check syntax for Make but be sure I am not executing?
We work with Make files and want to create a precommit check in HG to check Makefile syntax.Originally, our check was just going to be[详细]
2023-04-12 19:27 分类:问答Force variable expansion in GNU Make
How do I force GNU Make variables to evaluate immediately? Consider the following example: TARGET:=fred[详细]
2023-04-12 17:45 分类:问答How can I set the value of a variable in a makefile depending on a MAKEFLAG?
My makefile is compiling my program for debugging. By that I mean that it passes -g -D DEBUG to the compiler. I want to be able to pass -nd for not debug or -p for production to make thus removing the[详细]
2023-04-12 03:04 分类:问答GNU Make (running program on multiple files)
I\'m stuck trying t开发者_JAVA百科o figure out how to run a program, on a set of files, using GNU Make:[详细]
2023-04-11 05:32 分类:问答Makefile: target with pattern does not work
My Makefile looks like this: BIN= bin OBJECTS = object1.o \\ object2.o \\ object3.o HDR= $(OBJ开发者_如何学PythonECTS:%.o=%.h) header1.h header2.h[详细]
2023-04-10 03:29 分类:问答Is it possible to have case insensitive targets with GNU make?
Is it possible to design a makefile so that make program_name produces the same result as make PROGRAM_NAME[详细]
2023-04-08 08:31 分类:问答Create comma-separated lists in GNU Make
I have a Makefile with a set of booleans which must be used to control the flags for an externalapplication. The problem is that the flag must be passed as a comma-separated string.[详细]
2023-04-07 13:48 分类:问答Generate a list of files/objects dynamically from within makefile
I am trying to do this: From a directory, pick all the C (.c) files, generate .o and add it to my final target executable. The C files can be added or removed at anytime, so when I[详细]
2023-04-07 09:34 分类:问答Makefile target matching
I\'m having troubles with my Makefile :-( I have a mix of assembly and C sourcecode that I need to link together. I need different build-instructions for those two types. Since 开发者_如何学运维both[详细]
2023-04-05 06:04 分类:问答Remove item from a Makefile variable?
I have a makefile, which includes several other makefiles, which in turn all add to a variable like this:[详细]
2023-04-05 01:29 分类:问答