Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the dependencies and the build.
- Loading branch information
Showing
4 changed files
with
32 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
# add this dependency BEFORE including the other submakefiles. | ||
all: | ||
|
||
# | ||
# This nonsense is here because pattern rules don't work if you have | ||
# multiple of them. If you try to run the shell script by assigning | ||
# it to a variable, GNU Make notices that the variable isn't used... | ||
# and doesn't run the shell script. This crap below seems to bypass | ||
# Make's optimization. | ||
# | ||
ifeq "$(shell [ -e src/freeradius-devel ] || ln -s include src/freeradius-devel)" "" | ||
# do nothing | ||
endif | ||
|
||
SUBMAKEFILES := include/all.mk lib/all.mk modules/all.mk main/all.mk tests/all.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63e6521
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is a much better way to satisfy dynamically built headers dependencies, thanks