mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
build: allow the user to specify make V=1 for verbose build
it's often required to see the full commandline when things go wrong. the standard way for Makefile-only based buildsystems and autoconf is to pass V=1 to make.
This commit is contained in:
parent
f9ba3b734c
commit
d8482fbd57
@ -2,6 +2,12 @@ ifneq ($(shell echo),)
|
|||||||
CMD_EXE = 1
|
CMD_EXE = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(V),1)
|
||||||
|
Q=@
|
||||||
|
else
|
||||||
|
Q=
|
||||||
|
endif
|
||||||
|
|
||||||
PROGS = ar65 \
|
PROGS = ar65 \
|
||||||
ca65 \
|
ca65 \
|
||||||
cc65 \
|
cc65 \
|
||||||
@ -147,7 +153,7 @@ endef # PROG_template
|
|||||||
|
|
||||||
../wrk/%.o: %.c
|
../wrk/%.o: %.c
|
||||||
@echo $<
|
@echo $<
|
||||||
@$(CC) -c $(CFLAGS) -o $@ $<
|
$(Q)$(CC) -c $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
../bin:
|
../bin:
|
||||||
@$(call MKDIR,$@)
|
@$(call MKDIR,$@)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user