From 1be2fa0339b0a16b2f271548281c3fd62fbe2e47 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 28 Dec 2025 05:27:28 +0100 Subject: [PATCH] Stop silencing errors --- Makefile | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 6a7018a..5616769 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,5 @@ -.SILENT: - -CC := gcc -CFLAGS := -Wall -Wextra -O2 - -# Silence some errors/warnings for now -CFLAGS += -Wno-implicit-fallthrough -CFLAGS += -Wno-strict-aliasing -CFLAGS += -Wno-uninitialized +CC ?= gcc +CFLAGS := -Wall -Wextra -ggdb SRC := $(wildcard *.c) OBJ := $(SRC:.c=.o) @@ -25,17 +18,12 @@ SUBDIRS += socket SUBDIRS += sqlite %.o: %.c - @echo CC $@ - @$(CC) $(CFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< %.elf: %.o - @echo LD $@ - @$(CC) $(LIBS) -o $@ $< + $(CC) $(LIBS) -o $@ $< all: $(ELF) - # @for dir in $(SUBDIRS); do \ - # $(MAKE) -C $$dir; \ - # done sub: @-find . -mindepth 1 -maxdepth 1 -type d -exec make --no-print-directory -C {} \;