The order of assembly arguments in the Makefile doesn't work on macOS. bin/cpmemu $(OBJDIR)/asm.com -pA=$(dir $<) -pB=$(dir $@) ... results in the creation of files named -pA=dir and .pB=dir. It works if you move the -p options in front of the name of the file to execute: bin/cpmemu -pA=$(dir $<) -pB=$(dir $@) $(OBJDIR)/asm.com ...
The order of assembly arguments in the Makefile doesn't work on macOS.
bin/cpmemu $(OBJDIR)/asm.com -pA=$(dir $<) -pB=$(dir $@) ...
results in the creation of files named-pA=dir
and.pB=dir
. It works if you move the-p
options in front of the name of the file to execute:bin/cpmemu -pA=$(dir $<) -pB=$(dir $@) $(OBJDIR)/asm.com ...