adjust makefiles in util to common behaviour

This commit is contained in:
mrdudz
2025-06-26 22:36:12 +02:00
parent fed7276a63
commit 000789de95
4 changed files with 39 additions and 6 deletions

View File

@@ -4,6 +4,13 @@ ifneq ($(SILENT),s)
$(info Using Makefile: $(realpath $(firstword $(MAKEFILE_LIST))) $(MAKECMDGOALS))
endif
ifeq ($(SILENT),s)
QUIET = 1
endif
ifdef QUIET
.SILENT:
endif
CC = $(CROSS_COMPILE)gcc
@@ -28,6 +35,7 @@ CFLAGS += -O3 -Wall -Wextra -Wno-char-subscripts $(USER_CFLAGS)
atari: ataricvt
ataricvt: ataricvt.c
$(if $(QUIET),echo HOST:$@)
$(CC) $(CFLAGS) -o ataricvt ataricvt.c
mostlyclean clean: