Audio plugin host https://kx.studio/carla
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.

60 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for theme #
  3. # ------------------ #
  4. # Created by falkTX
  5. #
  6. include ../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += -fvisibility=hidden -I.
  9. ifeq ($(HAVE_QT5),true)
  10. BUILD_CXX_FLAGS += $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)
  11. LINK_FLAGS += $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets)
  12. else
  13. BUILD_CXX_FLAGS += $(shell pkg-config --cflags QtCore QtGui)
  14. LINK_FLAGS += $(shell pkg-config --libs QtCore QtGui)
  15. endif
  16. FILES = \
  17. moc_CarlaStyle.cpp \
  18. moc_CarlaStylePrivate.cpp \
  19. moc_CarlaStyleAnimations.cpp \
  20. resources.cpp
  21. OBJS = \
  22. CarlaStyle.cpp.o \
  23. moc_CarlaStyle.cpp.o \
  24. moc_CarlaStyleAnimations.cpp.o \
  25. moc_CarlaStylePrivate.cpp.o
  26. TARGET = ../libs/theme.a
  27. # --------------------------------------------------------------
  28. all: $(TARGET)
  29. clean:
  30. rm -f $(FILES) $(OBJS) $(TARGET)
  31. debug:
  32. $(MAKE) DEBUG=true
  33. # --------------------------------------------------------------
  34. $(TARGET): $(FILES) $(OBJS)
  35. $(AR) rs $@ $(OBJS)
  36. # --------------------------------------------------------------
  37. %.cpp.o: %.cpp CarlaStyle.hpp moc_CarlaStyle.cpp
  38. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  39. moc_%.cpp: %.hpp
  40. $(MOC) $< -o $@
  41. resources.cpp: ../../resources/resources-theme.qrc
  42. $(RCC) $< -o $@