aboutsummaryrefslogtreecommitdiff
path: root/programs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'programs.mk')
-rw-r--r--programs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs.mk b/programs.mk
index 30539d129..74f2982a5 100644
--- a/programs.mk
+++ b/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)))