Only run xattr if present
This commit is contained in:
parent
e6943cb0b2
commit
a646cf6611
2
Makefile
2
Makefile
|
@ -29,7 +29,7 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
|
||||||
|
|
||||||
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
||||||
ld65 $(LDFLAGS) -o $@ $<
|
ld65 $(LDFLAGS) -o $@ $<
|
||||||
command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@
|
if command -v xattr &> /dev/null; then xattr -wx prodos.AuxType '00 20' $@; fi
|
||||||
|
|
||||||
$(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o
|
$(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o
|
||||||
ld65 $(LDFLAGS) -o $@ $<
|
ld65 $(LDFLAGS) -o $@ $<
|
||||||
|
|
Loading…
Reference in New Issue