diff --git a/cricket/Makefile b/cricket/Makefile index 771b787..775b35d 100644 --- a/cricket/Makefile +++ b/cricket/Makefile @@ -36,4 +36,4 @@ $(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' $@ diff --git a/dclock/Makefile b/dclock/Makefile index b67c0b5..814cf7c 100644 --- a/dclock/Makefile +++ b/dclock/Makefile @@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@ diff --git a/ns.clock/Makefile b/ns.clock/Makefile index 25b6c11..89f632c 100644 --- a/ns.clock/Makefile +++ b/ns.clock/Makefile @@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@ diff --git a/quit/Makefile b/quit/Makefile index 36f1ed1..91764ab 100644 --- a/quit/Makefile +++ b/quit/Makefile @@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@ diff --git a/ram.drv/Makefile b/ram.drv/Makefile index a104871..29808b3 100644 --- a/ram.drv/Makefile +++ b/ram.drv/Makefile @@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@ diff --git a/selectors/Makefile b/selectors/Makefile index 15fe9c6..85127ba 100644 --- a/selectors/Makefile +++ b/selectors/Makefile @@ -34,4 +34,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< - xattr -wx prodos.AuxType '00 20' $@ + command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@