From e69bd03dbfb6b1b10a1024ffe48d8b6493149652 Mon Sep 17 00:00:00 2001 From: Quinn Date: Fri, 24 Jan 2025 19:51:35 +0100 Subject: [PATCH] make some commands not log to the console --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 055cf0d..832854e 100644 --- a/makefile +++ b/makefile @@ -36,15 +36,15 @@ $(TARGET): $(OBJ) # creates .o and .d files, include a flag for no unused command line arguments, because in this context it's unneeded $(DIR_OBJ)/$(ARCH)/%.o: src/%.c - mkdir -p $(dir $@) + @mkdir -p $(dir $@) $(CC) -o $@ -MD -MP -c $< $(CFLAGS) -std=$(STD) -x $(LANG) -Wno-unused-command-line-argument $(DIR): - mkdir -p $@ + @mkdir -p $@ # update compile commands if the makefile has been updated (for linting) compile_commands.json: makefile - touch compile_commands.json + @touch compile_commands.json $(MAKE) clean bear -- make