ASIO to JACK driver for WINE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.5KB

  1. #!/usr/bin/make -f
  2. # Makefile for WineASIO #
  3. # --------------------- #
  4. # Created by falkTX
  5. #
  6. VERSION = 1.2.0
  7. PREFIX ?= /usr
  8. all:
  9. @echo "error: you must pass '32' or '64' as an argument to this Makefile in order to build WineASIO"
  10. # ---------------------------------------------------------------------------------------------------------------------
  11. 32:
  12. $(MAKE) build ARCH=i386 M=32
  13. 64:
  14. $(MAKE) build ARCH=x86_64 M=64
  15. # ---------------------------------------------------------------------------------------------------------------------
  16. clean:
  17. rm -f *.o *.so
  18. rm -rf build32 build64
  19. rm -rf gui/__pycache__
  20. # ---------------------------------------------------------------------------------------------------------------------
  21. tarball: clean
  22. rm -f ../wineasio-$(VERSION).tar.gz
  23. tar -c -z \
  24. --exclude=".git*" \
  25. --exclude=".travis*" \
  26. --exclude=debian \
  27. --exclude=prepare_64bit_asio.sh \
  28. --exclude=rtaudio/cmake \
  29. --exclude=rtaudio/contrib \
  30. --exclude=rtaudio/doc \
  31. --exclude=rtaudio/tests \
  32. --exclude=rtaudio/"*.ac" \
  33. --exclude=rtaudio/"*.am" \
  34. --exclude=rtaudio/"*.in" \
  35. --exclude=rtaudio/"*.sh" \
  36. --exclude=rtaudio/"*.txt" \
  37. --transform='s,^\.,wineasio-$(VERSION),' \
  38. -f ../wineasio-$(VERSION).tar.gz .
  39. # ---------------------------------------------------------------------------------------------------------------------
  40. ifneq ($(ARCH),)
  41. ifneq ($(M),)
  42. include Makefile.mk
  43. endif
  44. endif
  45. # ---------------------------------------------------------------------------------------------------------------------