The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

85 lines
3.1KB

  1. # Automatically generated makefile, created by the Introjucer
  2. # Don't edit this file! Your changes will be overwritten when you re-save the Introjucer project!
  3. # (this disables dependency generation if multiple architectures are set)
  4. DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
  5. ifndef CONFIG
  6. CONFIG=Debug
  7. endif
  8. ifeq ($(CONFIG),Debug)
  9. BINDIR := build
  10. LIBDIR := build
  11. OBJDIR := build/intermediate/Debug
  12. OUTDIR := build
  13. ifeq ($(TARGET_ARCH),)
  14. TARGET_ARCH := -march=native
  15. endif
  16. CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
  17. CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0
  18. CXXFLAGS += $(CFLAGS)
  19. LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -L/usr/X11R6/lib/ -ldl -lpthread -lrt
  20. LDDEPS :=
  21. RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
  22. TARGET := BinaryBuilder
  23. BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
  24. endif
  25. ifeq ($(CONFIG),Release)
  26. BINDIR := build
  27. LIBDIR := build
  28. OBJDIR := build/intermediate/Release
  29. OUTDIR := build
  30. ifeq ($(TARGET_ARCH),)
  31. TARGET_ARCH := -march=native
  32. endif
  33. CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
  34. CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os
  35. CXXFLAGS += $(CFLAGS)
  36. LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -fvisibility=hidden -L/usr/X11R6/lib/ -ldl -lpthread -lrt
  37. LDDEPS :=
  38. RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=1.0.0" -D "JUCE_APP_VERSION_HEX=0x10000" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
  39. TARGET := BinaryBuilder
  40. BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
  41. endif
  42. OBJECTS := \
  43. $(OBJDIR)/Main_90ebc5c2.o \
  44. $(OBJDIR)/juce_core_1ee54a40.o \
  45. .PHONY: clean
  46. $(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
  47. @echo Linking BinaryBuilder
  48. -@mkdir -p $(BINDIR)
  49. -@mkdir -p $(LIBDIR)
  50. -@mkdir -p $(OUTDIR)
  51. @$(BLDCMD)
  52. clean:
  53. @echo Cleaning BinaryBuilder
  54. -@rm -f $(OUTDIR)/$(TARGET)
  55. -@rm -rf $(OBJDIR)/*
  56. -@rm -rf $(OBJDIR)
  57. strip:
  58. @echo Stripping BinaryBuilder
  59. -@strip --strip-unneeded $(OUTDIR)/$(TARGET)
  60. $(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
  61. -@mkdir -p $(OBJDIR)
  62. @echo "Compiling Main.cpp"
  63. @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
  64. $(OBJDIR)/juce_core_1ee54a40.o: ../../../../modules/juce_core/juce_core.cpp
  65. -@mkdir -p $(OBJDIR)
  66. @echo "Compiling juce_core.cpp"
  67. @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
  68. -include $(OBJECTS:%.o=%.d)