- sudo apt-get install linuxdoc-tools linuxdoc-tools-info binutils-mingw-w64-i686 gcc-mingw-w64-i686
script:
- make
- - make -C src clean all CROSS_COMPILE=i686-w64-mingw32-
+ - make -C src clean bin CROSS_COMPILE=i686-w64-mingw32-
- make doc zip
after_success:
- make -f Makefile.gh-pages
GH_PAGES = ../gh-pages
all:
- date +%D | zip -z cc65
+ date +%F | zip -z cc65
ifdef GH_TOKEN
git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/oliverschmidt/cc65.git $(GH_PAGES)
cd $(GH_PAGES) && git config user.name "Oliver Schmidt"
cd $(GH_PAGES) && $(RM) -r doc download
cd $(GH_PAGES) && mkdir doc download
cp html/*.* $(GH_PAGES)/doc
- cp cc65.zip $(GH_PAGES)/download/cc65-snapshot.zip
+ cp cc65.zip $(GH_PAGES)/download/cc65-snapshot-win32.zip
cd $(GH_PAGES) && git add -A doc download
cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
cd $(GH_PAGES) && git push
ser \
tgi
-OUTPUTDIRS = lib \
- $(DRVTYPES) \
- targetutil \
- asminc \
- cfg \
- include \
- $(subst ../,,$(filter-out $(wildcard ../include/*.*),$(wildcard ../include/*)))
+OUTPUTDIRS := lib \
+ $(DRVTYPES) \
+ targetutil \
+ asminc \
+ cfg \
+ include \
+ $(subst ../,,$(filter-out $(wildcard ../include/*.*),$(wildcard ../include/*)))
.PHONY: all mostlyclean clean install zip lib $(TARGETS)