git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit d7ce097ffeabf1cc4be308bb574ddb0b5a715b19
parent f22f66a0b24a23c8828c210b713bcfe859451538
Author: Toxa <untoxa@mail.ru>
Date:   Fri,  3 Sep 2021 01:16:23 +0300

fix regexp in Makefile

Diffstat:
Mgbdk-lib/examples/cross-platform/banks/Makefile4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gbdk-lib/examples/cross-platform/banks/Makefile b/gbdk-lib/examples/cross-platform/banks/Makefile @@ -43,9 +43,9 @@ all: $(TARGETS) # Compile .c files in "src/" to .o object files $(OBJDIR)/%.o: $(SRCDIR)/%.c - $(eval BOFLAG = $(shell if [[ $< =~ ".c([0-9]+)". ]]; then echo $${BASH_REMATCH[1]}; fi)) + $(eval BOFLAG = $(shell if [[ $< =~ ".c([0-9]+)." ]]; then echo $${BASH_REMATCH[1]}; fi)) $(eval BOFLAG = $(if $(BOFLAG),-Wf-bo$(BOFLAG),)) - $(eval BAFLAG = $(shell if [[ $< =~ ".d([0-9]+)". ]]; then echo $${BASH_REMATCH[1]}; fi)) + $(eval BAFLAG = $(shell if [[ $< =~ ".d([0-9]+)." ]]; then echo $${BASH_REMATCH[1]}; fi)) $(eval BAFLAG = $(if $(BAFLAG),-Wf-ba$(BAFLAG),)) $(LCC) $(CFLAGS) $(BOFLAG) $(BAFLAG) -c -o $@ $<

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.