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.

Makefile 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/usr/bin/make -f
  2. # Makefile for widgets #
  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_paramspinbox.cpp \
  18. moc_pixmapkeyboard.cpp
  19. OBJS = \
  20. digitalpeakmeter.cpp.o \
  21. ledbutton.cpp.o \
  22. paramspinbox.cpp.o \
  23. pixmapdial.cpp.o \
  24. pixmapkeyboard.cpp.o \
  25. moc_paramspinbox.cpp.o \
  26. moc_pixmapkeyboard.cpp.o
  27. TARGET = ../libs/widgets.a
  28. # --------------------------------------------------------------
  29. all: $(TARGET)
  30. clean:
  31. rm -f $(FILES) $(OBJS) $(TARGET)
  32. debug:
  33. $(MAKE) DEBUG=true
  34. # --------------------------------------------------------------
  35. $(TARGET): $(FILES) $(OBJS)
  36. $(AR) rs $@ $(OBJS)
  37. # --------------------------------------------------------------
  38. %.cpp.o: %.cpp
  39. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  40. moc_%.cpp: %.hpp
  41. $(MOC) $< -o $@