Makefile verbose mode: make V=1 as for CMake

This commit is contained in:
Philippe Teuwen 2019-06-02 16:04:35 +02:00
commit 742fe16830
9 changed files with 37 additions and 20 deletions

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
GZIP=gzip GZIP=gzip
# Windows' echo echos its input verbatim, on Posix there is some # Windows' echo echos its input verbatim, on Posix there is some
@ -77,7 +79,7 @@ help:
@echo "+ checks - Detect various encoding issues in source code" @echo "+ checks - Detect various encoding issues in source code"
@echo @echo
@echo "Possible platforms: try \"make PLATFORM=\" for more info, default is PM3RDV4" @echo "Possible platforms: try \"make PLATFORM=\" for more info, default is PM3RDV4"
@echo "To see full command lines, use make Q=" @echo "To activate verbose mode, use make V=1"
client: client/all client: client/all

View file

@ -10,8 +10,10 @@
# Add -DPRESETS to compile with preset models (edit config.h) # Add -DPRESETS to compile with preset models (edit config.h)
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
CC = gcc CC = gcc
CXX = g++ CXX = g++

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
include_HEADERS = jansson.h include_HEADERS = jansson.h
nodist_include_HEADERS = jansson_config.h nodist_include_HEADERS = jansson_config.h

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
LIB_A = tinycbor.a LIB_A = tinycbor.a
tinycbor_SOURCES = \ tinycbor_SOURCES = \

View file

@ -13,9 +13,10 @@
# variables # variables
# #
# Hide full compilation line: ifneq ($(V),1)
Q?=@ Q?=@
# To see full command lines, use make Q= endif
# To see full command lines, use make V=1
# Make sure that all is the default target # Make sure that all is the default target
# (The including Makefile still needs to define what 'all' is) # (The including Makefile still needs to define what 'all' is)

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
LIB_A = libmbedtls.a LIB_A = libmbedtls.a
mbedtls_SOURCES = \ mbedtls_SOURCES = \

View file

@ -4,8 +4,10 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ======================= # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
# Your platform. See PLATS for possible values. # Your platform. See PLATS for possible values.
PLAT= none PLAT= none

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
VPATH = ../../common ../../common/crapto1 ../../client VPATH = ../../common ../../common/crapto1 ../../client
CC = gcc CC = gcc

View file

@ -1,6 +1,8 @@
# Hide full compilation line: # Hide full compilation line:
Q?=@ ifneq ($(V),1)
# To see full command lines, use make Q= Q?=@
endif
# To see full command lines, use make V=1
CC = gcc CC = gcc
CFLAGS = -std=c99 -Wall -O3 -I. CFLAGS = -std=c99 -Wall -O3 -I.