mirror of https://github.com/a2stuff/chtype.git
Travis-CI: Build using linux
This commit is contained in:
parent
8103042421
commit
71ad9bda97
|
@ -1,5 +1,5 @@
|
||||||
sudo: enabled
|
sudo: enabled
|
||||||
os: osx
|
os: linux
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -6,6 +6,8 @@ OUTDIR = out
|
||||||
|
|
||||||
TARGETS = $(OUTDIR)/chtype.BIN $(OUTDIR)/chtime.BIN
|
TARGETS = $(OUTDIR)/chtype.BIN $(OUTDIR)/chtime.BIN
|
||||||
|
|
||||||
|
XATTR := $(shell command -v xattr 2> /dev/null)
|
||||||
|
|
||||||
.PHONY: clean all
|
.PHONY: clean all
|
||||||
all: $(OUTDIR) $(TARGETS)
|
all: $(OUTDIR) $(TARGETS)
|
||||||
|
|
||||||
|
@ -25,4 +27,6 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
|
||||||
|
|
||||||
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
||||||
ld65 $(LDFLAGS) -o $@ $<
|
ld65 $(LDFLAGS) -o $@ $<
|
||||||
|
ifdef XATTR
|
||||||
xattr -wx prodos.AuxType '00 20' $@
|
xattr -wx prodos.AuxType '00 20' $@
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue