Subversion Repositories svn.mios32

Rev

Rev 1724 | Rev 1734 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1724 Rev 1727
Line 21... Line 21...
21
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0
21
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0
22
  CXXFLAGS += $(CFLAGS) 
22
  CXXFLAGS += $(CFLAGS) 
23
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt 
23
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt 
24
  LDDEPS :=
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 -I ../../JuceLibraryCode
25
  RESFLAGS :=  -D "LINUX=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode
26
  TARGET := MIOS\ Studio
26
  TARGET := MIOS_Studio_Debug
27
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
27
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
28
endif
28
endif
29
29
30
ifeq ($(CONFIG),Release)
30
ifeq ($(CONFIG),Release)
31
  BINDIR := build
31
  BINDIR := build
Line 36... Line 36...
36
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os
36
  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -Os
37
  CXXFLAGS += $(CFLAGS) 
37
  CXXFLAGS += $(CFLAGS) 
38
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt 
38
  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -L/usr/X11R6/lib/ -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt 
39
  LDDEPS :=
39
  LDDEPS :=
40
  RESFLAGS :=  -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode
40
  RESFLAGS :=  -D "LINUX=1" -D "NDEBUG=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode
41
  TARGET := MIOS\ Studio
41
  TARGET := MIOS_Studio
42
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
42
  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
43
endif
43
endif
44
44
45
OBJECTS := \
45
OBJECTS := \
46
  $(OBJDIR)/ConfigTableComponents_f9ec0b18.o \
46
  $(OBJDIR)/ConfigTableComponents_f9ec0b18.o \
Line 81... Line 81...
81
  $(OBJDIR)/juce_gui_extra_a9396b49.o \
81
  $(OBJDIR)/juce_gui_extra_a9396b49.o \
82
82
83
.PHONY: clean
83
.PHONY: clean
84
84
85
$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
85
$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
86
	@echo Linking MIOS Studio
86
	@echo Linking MIOS_Studio
87
	-@mkdir -p $(BINDIR)
87
	-@mkdir -p $(BINDIR)
88
	-@mkdir -p $(LIBDIR)
88
	-@mkdir -p $(LIBDIR)
89
	-@mkdir -p $(OUTDIR)
89
	-@mkdir -p $(OUTDIR)
90
	@$(BLDCMD)
90
	@$(BLDCMD)
91
91
92
clean:
92
clean:
93
	@echo Cleaning MIOS Studio
93
	@echo Cleaning MIOS_Studio
94
	-@rm -f $(OUTDIR)/$(TARGET)
94
	-@rm -f $(OUTDIR)/$(TARGET)
95
	-@rm -rf $(OBJDIR)/*
95
	-@rm -rf $(OBJDIR)/*
96
	-@rm -rf $(OBJDIR)
96
	-@rm -rf $(OBJDIR)
97
97
98
strip:
98
strip:
99
	@echo Stripping MIOS Studio
99
	@echo Stripping MIOS_Studio
100
	-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
100
	-@strip --strip-unneeded $(OUTDIR)/$(TARGET)
101
101
102
$(OBJDIR)/ConfigTableComponents_f9ec0b18.o: ../../src/gui/ConfigTableComponents.cpp
102
$(OBJDIR)/ConfigTableComponents_f9ec0b18.o: ../../src/gui/ConfigTableComponents.cpp
103
	-@mkdir -p $(OBJDIR)
103
	-@mkdir -p $(OBJDIR)
104
	@echo "Compiling ConfigTableComponents.cpp"
104
	@echo "Compiling ConfigTableComponents.cpp"