mirror of
https://github.com/cc65/cc65.git
synced 2025-01-01 03:30:20 +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
3922cccafb
commit
09e0dd02a0
@ -2,6 +2,12 @@ ifneq ($(shell echo),)
|
||||
CMD_EXE = 1
|
||||
endif
|
||||
|
||||
ifneq ($(V),1)
|
||||
Q=@
|
||||
else
|
||||
Q=
|
||||
endif
|
||||
|
||||
PROGS = ar65 \
|
||||
ca65 \
|
||||
cc65 \
|
||||
@ -147,7 +153,7 @@ endef # PROG_template
|
||||
|
||||
../wrk/%.o: %.c
|
||||
@echo $<
|
||||
@$(CC) -c $(CFLAGS) -o $@ $<
|
||||
$(Q)$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
../bin:
|
||||
@$(call MKDIR,$@)
|
||||
|
Loading…
Reference in New Issue
Block a user