summaryrefslogtreecommitdiff
path: root/board/lwmon5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/lwmon5/Makefile')
-rw-r--r--board/lwmon5/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/lwmon5/Makefile b/board/lwmon5/Makefile
index ba9387d..f7fef96 100644
--- a/board/lwmon5/Makefile
+++ b/board/lwmon5/Makefile
@@ -32,8 +32,10 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): $(OBJS) $(SOBJS)
- $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+all: $(LIB) $(SOBJS)
+
+$(LIB): $(OBJS)
+ $(call cmd_link_o_target, $^)
clean:
rm -f $(SOBJS) $(OBJS)