diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-04T10·02+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-04T10·21+0100 |
commit | 4ee6001f95908578a1693c0fbf7b7fdc309b86c5 (patch) | |
tree | fd38206cabe916e6a8672a319a73e9877f20a3ac /mk/programs.mk | |
parent | 143224f7cd6f6667047a1683c1ede4e1f7816843 (diff) |
GNU Make 3.81 compatibility
3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead.
Diffstat (limited to 'mk/programs.mk')
-rw-r--r-- | mk/programs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/programs.mk b/mk/programs.mk index 30539d129055..74f2982a5f1c 100644 --- a/mk/programs.mk +++ b/mk/programs.mk @@ -15,7 +15,7 @@ programs-list := # # - $(1)_INSTALL_DIR: the directory where the program will be # installed; defaults to $(bindir). -define build-program = +define build-program _d := $$($(1)_DIR) _srcs := $$(sort $$(foreach src, $$($(1)_SOURCES), $$(src))) $(1)_OBJS := $$(addsuffix .o, $$(basename $$(_srcs))) |