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.

42 lines
1.4KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. # ---------------------------------------------------------------------------------------------------------------------
  7. # Project name, used for binaries
  8. NAME = Ildaeil
  9. # ---------------------------------------------------------------------------------------------------------------------
  10. # Do some magic
  11. STANDALONE = true
  12. include ../Common/Makefile.mk
  13. # ---------------------------------------------------------------------------------------------------------------------
  14. # Extra rules for macOS app bundle
  15. $(TARGET_DIR)/Ildaeil.app/Contents/Info.plist: macOS/Info.plist $(TARGET_DIR)/Ildaeil.app/Contents/Resources/distrho.icns
  16. -@mkdir -p $(shell dirname $@)
  17. cp $< $@
  18. $(TARGET_DIR)/Ildaeil.app/Contents/Resources/distrho.icns: macOS/distrho.icns
  19. -@mkdir -p $(shell dirname $@)
  20. cp $< $@
  21. # ---------------------------------------------------------------------------------------------------------------------
  22. # Extra rules for Windows icon
  23. ifeq ($(WINDOWS),true)
  24. WINDRES ?= $(subst gcc,windres,$(CC))
  25. $(BUILD_DIR)/distrho.rc.o: win32/distrho.rc win32/distrho.ico
  26. -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
  27. @echo "Compiling distrho.rc"
  28. $(SILENT)$(WINDRES) $< -O coff -o $@
  29. endif
  30. # ---------------------------------------------------------------------------------------------------------------------