isequal: add --wildcards option

This commit is contained in:
Spiro Trikaliotis
2022-06-21 22:23:10 +02:00
parent c738c94935
commit a7b2a92fc2
3 changed files with 281 additions and 17 deletions

View File

@@ -79,7 +79,7 @@ ifneq ($(wildcard ref/$1.ld65err-ref),)
-diff -u ref/$1.ld65err-ref $$(@:.bin=.ld65-err)
@echo
@echo
$(ISEQUAL) ref/$1.ld65err-ref $$(@:.bin=.ld65-err)
$(ISEQUAL) --wildcards ref/$1.ld65err-ref $$(@:.bin=.ld65-err)
else
ifneq ($(wildcard $(WORKDIR)/$1.ld65-err),)
$(ISEQUAL) --empty $$(@:.bin=.ld65-err)
@@ -106,7 +106,7 @@ else
endif
ifneq ($(wildcard ref/$1.ld65err-ref),)
$(ISEQUAL) ref/$1.ld65err-ref $$(@:.bin=.list-ld65-err)
$(ISEQUAL) --wildcards ref/$1.ld65err-ref $$(@:.bin=.list-ld65-err)
else
ifneq ($(wildcard $(WORKDIR)/$1.list-ld65-err),)
$(ISEQUAL) --empty $$(@:.bin=.list-ld65-err)