/[svn]/linuxsampler/trunk/benchmarks/Makefile
ViewVC logotype

Annotation of /linuxsampler/trunk/benchmarks/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 851 - (hide annotations) (download)
Tue Apr 11 17:56:26 2006 UTC (18 years ago) by schoenebeck
File size: 1564 byte(s)
* added synthesis benchmark for gig::Engine

1 schoenebeck 851 # 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. For now we use the respective
21     # workaround header from the xcode (osx) project file for this.
22     INCLUDES=-include ../osx/version.h
23    
24     .PHONY: all gigsynth.o Synthesizer.o RTMath.o
25    
26     all: Synthesizer.o RTMath.o gigsynth.o
27     $(CPP) $(CFLAGS) -o gigsynth gigsynth.o Synthesizer.o RTMath.o
28    
29     clean:
30     rm -f gigsynth $(OBJFILES)
31    
32     gigsynth.o:
33     $(CPP) $(INCLUDES) $(CFLAGS) -c gigsynth.cpp
34    
35     Synthesizer.o:
36     $(CPP) $(INCLUDES) $(CFLAGS) -c ../src/engines/gig/Synthesizer.cpp
37    
38     RTMath.o:
39     $(CPP) $(INCLUDES) $(CFLAGS) -c ../src/common/RTMath.cpp

  ViewVC Help
Powered by ViewVC