Add TAL-Reverb-II plugin to test
[juce-lv2.git] / juce / source / extras / binarybuilder / Builds / Linux / Makefile
blobad20adf563befa6590a69b82d2717b8a39dc31eb
1 # Automatically generated makefile, created by the Jucer
2 # Don't edit this file! Your changes will be overwritten when you re-save the Jucer project!
4 ifndef CONFIG
5 CONFIG=Debug
6 endif
8 ifeq ($(TARGET_ARCH),)
9 TARGET_ARCH := -march=native
10 endif
12 # (this disables dependency generation if multiple architectures are set)
13 DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
15 ifeq ($(CONFIG),Debug)
16 BINDIR := build
17 LIBDIR := build
18 OBJDIR := build/intermediate/Debug
19 OUTDIR := build
20 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
21 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0
22 CXXFLAGS += $(CFLAGS)
23 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
24 LDDEPS :=
25 RESFLAGS := -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
26 TARGET := BinaryBuilder
27 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
28 endif
30 ifeq ($(CONFIG),Release)
31 BINDIR := build
32 LIBDIR := build
33 OBJDIR := build/intermediate/Release
34 OUTDIR := build
35 CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
36 CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os
37 CXXFLAGS += $(CFLAGS)
38 LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L"/usr/X11R6/lib/" -L"../../../../../juce/bin" -lfreetype -lpthread -lrt -lX11 -lGL -lGLU -lXinerama -lasound
39 LDDEPS :=
40 RESFLAGS := -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I "/usr/include" -I "/usr/include/freetype2"
41 TARGET := BinaryBuilder
42 BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
43 endif
45 OBJECTS := \
46 $(OBJDIR)/Main_90ebc5c2.o \
47 $(OBJDIR)/JuceLibraryCode_9800db7c.o \
49 .PHONY: clean
51 $(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
52 @echo Linking BinaryBuilder
53 -@mkdir -p $(BINDIR)
54 -@mkdir -p $(LIBDIR)
55 -@mkdir -p $(OUTDIR)
56 @$(BLDCMD)
58 clean:
59 @echo Cleaning BinaryBuilder
60 -@rm -f $(OUTDIR)/$(TARGET)
61 -@rm -rf $(OBJDIR)/*
62 -@rm -rf $(OBJDIR)
64 $(OBJDIR)/Main_90ebc5c2.o: ../../Source/Main.cpp
65 -@mkdir -p $(OBJDIR)
66 @echo "Compiling Main.cpp"
67 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
69 $(OBJDIR)/JuceLibraryCode_9800db7c.o: ../../JuceLibraryCode/JuceLibraryCode.cpp
70 -@mkdir -p $(OBJDIR)
71 @echo "Compiling JuceLibraryCode.cpp"
72 @$(CXX) $(CXXFLAGS) -o "$@" -c "$<"
74 -include $(OBJECTS:%.o=%.d)