Makefile 692 B

12345678910111213141516171819202122232425262728293031
  1. # Makefile
  2. #
  3. # Makefile for the Arduino AccelStepper project
  4. #
  5. # Author: Mike McCauley (mikem@airspayce.com)
  6. # Copyright (C) 2010 Mike McCauley
  7. # $Id: Makefile,v 1.6 2015/08/25 04:57:29 mikem Exp mikem $
  8. PROJNAME = AccelStepper
  9. VERSION_MAJOR = 1
  10. VERSION_MINOR = 59
  11. DISTFILE = $(PROJNAME)-$(VERSION_MAJOR).$(VERSION_MINOR).zip
  12. all: versioning doxygen dist upload
  13. versioning:
  14. sed -i.bak -e 's/AccelStepper-.*\.zip/$(DISTFILE)/' AccelStepper.h
  15. doxygen:
  16. doxygen project.cfg
  17. ci:
  18. (cd ..;ci -l `cat $(PROJNAME)/MANIFEST`)
  19. dist:
  20. (cd ..; zip $(PROJNAME)/$(DISTFILE) `cat $(PROJNAME)/MANIFEST`)
  21. upload:
  22. rsync -avz $(DISTFILE) doc/ www.airspayce.com:public_html/mikem/arduino/$(PROJNAME)