/[svn]/linuxsampler/branches/release0_5_0/benchmarks/Makefile
ViewVC logotype

Contents of /linuxsampler/branches/release0_5_0/benchmarks/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1433 - (show annotations) (download)
Mon Oct 15 12:14:14 2007 UTC (16 years, 7 months ago) by (unknown author)
File size: 1465 byte(s)
This commit was manufactured by cvs2svn to create branch 'release0_5_0'.
1 # Benchmark gig::Engine Synthesis
2 #
3 # Hand crafted Makefile as a starting point for benchmarking the sampler's
4 # Gigasampler format engine. You have to manually adjust the CFLAGS macro
5 # below to achieve the best results on your system!
6 #
7 # Call 'make' to compile and then './gigsynth' to run the benchmark.
8
9 #CFLAGS=-O3 --param max-inline-insns-single=50 -ffast-math -march=pentium4 -mtune=pentium4 -funroll-loops -fomit-frame-pointer -mfpmath=sse
10 #CFLAGS=-xW -O3 -march=pentium4
11 #CFLAGS=-O3 -march=pentium4
12 #CFLAGS=-O3 -march=pentium4m -ffast-math -funroll-loops -fomit-frame-pointer -fpermissive -mfpmath=sse
13 CFLAGS=-O3 -march=i686 -mmmx -msse -ffast-math -funroll-loops -fomit-frame-pointer -fpermissive -mfpmath=sse
14 #CFLAGS=-O3 -g3 -ffast-math -march=pentium4 -funroll-loops -fomit-frame-pointer -mno-fp-ret-in-387 -fpermissive
15 #CFLAGS=-O3 -ffast-math -funroll-loops -fomit-frame-pointer
16 CPP=g++
17 OBJFILES=*.o
18
19 # In order to be able to compile the actual Sampler source files, we need to
20 # define compile time configuration macros.
21 INCLUDES=-include ../config.h
22
23 .PHONY: all gigsynth.o Synthesizer.o RTMath.o
24
25 all: Synthesizer.o RTMath.o gigsynth.o
26 $(CPP) $(CFLAGS) -o gigsynth gigsynth.o Synthesizer.o RTMath.o
27
28 clean:
29 rm -f gigsynth $(OBJFILES)
30
31 gigsynth.o:
32 $(CPP) $(INCLUDES) $(CFLAGS) -c gigsynth.cpp
33
34 Synthesizer.o:
35 $(CPP) $(INCLUDES) $(CFLAGS) -c ../src/engines/gig/Synthesizer.cpp
36
37 RTMath.o:
38 $(CPP) $(INCLUDES) $(CFLAGS) -c ../src/common/RTMath.cpp

  ViewVC Help
Powered by ViewVC