nonrec-make
nonrec-make copied to clipboard
Non-recursive make template for GNU make
My hierarchy is just as below. /ex dir_1/ dir_2/ dir_3/ dir_4/ dir_4a/ I want to build an exec and a library. The exec depends on the C files under dir_1/2/3....
In the def_rules.mk you have rules for flex/bison, but unfortunately there are no examples of this. If an existing .c file includes the auto-generated .h file, it can't generate the...
you store vars in a style VARNAME_$(d),don't you think there will be something wrong when in a situation uppercase and lowercase for same word are mixed together?
Hi Andrzej, Previously, all wrong entries in `SRCS` would be silently filtered out. This change aims to keep Rules.mk files accurate, and easier to debug. Thanks!
Hi Andrzej, it's me again :) I came upon another use case that I couldn't express, and those were unittests. In a directory that looks like: ``` . ├── include...
When you redefine OBJPATH to be an absolute path to the build folder like this: OBJPATH = $(TOP)/build/$(d)/$(OBJDIR) The hierarchy of folders "inside" gets really long, because $(d) is an...