summaryrefslogtreecommitdiff
path: root/board/korat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/korat/Makefile')
-rw-r--r--board/korat/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/korat/Makefile b/board/korat/Makefile
index 83b4d61..6781596 100644
--- a/board/korat/Makefile
+++ b/board/korat/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)