Last? Externals to new make methods
[xbmc:paulepanters-xbmc.git] / XBMC / xbmc / visualizations / WaveForm / Makefile.in
1 ARCH=@ARCH@
2 INCLUDES=-I. -I../../linux -I../../ -I ../../../guilib
3 DEFINES+=-DHAS_SDL_OPENGL -DHAS_SDL
4 CXXFLAGS=-fPIC
5 OBJS=Main.o
6
7 SLIB=../../../visualisations/Waveform.vis
8
9 $(SLIB): $(OBJS)
10 ifeq ($(findstring osx,$(ARCH)), osx)
11         @export MACOSX_DEPLOYMENT_TARGET=10.4
12         $(CXX) -bundle -shared -flat_namespace -undefined suppress -o $@ $(OBJS) \
13         ../../../tools/Mach5/wrapper.rb $@;mv output.so $@
14 else
15         $(CXX) $(CFLAGS) -shared -g -o $(SLIB) $(OBJS)
16 endif
17
18 include ../../../Makefile.include