diff --git a/Makefile b/Makefile index adc8eb5..db4c4cf 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@ $(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o ld65 $(LDFLAGS) -o $@ $<