summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 0e9c86b..a95481c 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -49,8 +49,8 @@ $(OBJDIR)/%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
- -$(RM) -f $(OBJDIR)/$(OBJS) *~ $(OUTPUT)
- -$(RM) -r $(DEPS)
+ rm -f $(OBJS) $(OUTPUT)
+ rm -rf $(OBJDIR)/$(DEPS)
# Special targets
$(OBJDIR)/thread.o: thread.c thread.h