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

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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../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. moc_paramspinbox.cpp.o \
  27. moc_pixmapkeyboard.cpp.o
  28. TARGET = ../libs/widgets.a
  29. # --------------------------------------------------------------
  30. all: $(TARGET)
  31. clean:
  32. rm -f $(FILES) $(TARGET) $(OBJS)
  33. debug:
  34. $(MAKE) DEBUG=true
  35. # --------------------------------------------------------------
  36. $(TARGET): $(FILES) $(OBJS)
  37. $(AR) rs $@ $(OBJS)
  38. # --------------------------------------------------------------
  39. %.cpp.o: %.cpp %.hpp
  40. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  41. moc_%.cpp.o: %.cpp
  42. $(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  43. moc_%.cpp: %.hpp
  44. $(MOC) $< -o $@