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.5KB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #!/usr/bin/make -f
  2. # Makefile for widgets #
  3. # -------------------- #
  4. # Created by falkTX
  5. #
  6. include ../../Makefile.mk
  7. # --------------------------------------------------------------
  8. BUILD_CXX_FLAGS += -I. -I.. -I../../includes -I../../utils
  9. ifeq ($(HAVE_QT4),true)
  10. BUILD_CXX_FLAGS += $(shell pkg-config --cflags QtCore QtGui)
  11. LINK_FLAGS += $(shell pkg-config --libs QtCore QtGui)
  12. else
  13. BUILD_CXX_FLAGS += $(shell pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)
  14. LINK_FLAGS += $(shell pkg-config --libs Qt5Core Qt5Gui Qt5Widgets)
  15. endif
  16. # --------------------------------------------------------------
  17. FILES = \
  18. moc_paramspinbox.cpp \
  19. moc_pixmapkeyboard.cpp
  20. OBJS = \
  21. digitalpeakmeter.cpp.o \
  22. ledbutton.cpp.o \
  23. paramspinbox.cpp.o \
  24. pixmapdial.cpp.o \
  25. pixmapkeyboard.cpp.o
  26. OBJS += \
  27. moc_paramspinbox.cpp.o \
  28. moc_pixmapkeyboard.cpp.o
  29. # --------------------------------------------------------------
  30. all: ../widgets.a
  31. # --------------------------------------------------------------
  32. ../widgets.a: $(FILES) $(OBJS)
  33. $(RM) $@
  34. $(AR) crs $@ $(OBJS)
  35. # --------------------------------------------------------------
  36. %.cpp.o: %.cpp %.hpp
  37. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  38. moc_%.cpp.o: %.cpp
  39. $(CXX) moc_$< $(BUILD_CXX_FLAGS) -c -o $@
  40. moc_%.cpp: %.hpp
  41. $(MOC) $< -o $@
  42. # --------------------------------------------------------------
  43. clean:
  44. $(RM) *.o ../widgets*.a $(FILES)
  45. debug:
  46. $(MAKE) DEBUG=true
  47. # --------------------------------------------------------------