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

Annotation of /linuxsampler/trunk/benchmarks/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1424 - (hide annotations) (download)
Sun Oct 14 22:00:17 2007 UTC (16 years, 6 months ago) by schoenebeck
File size: 1465 byte(s)
* code cleanup:
- global.h now only covers global definitions that are needed for the C++
  API header files, all implementation internal global definitions are now
  in global_private.h
- atomic.h is not exposed to the C++ API anymore (replaced the references
  in SynchronizedConfig.h for this with local definitions)
- no need to include config.h anymore for using LS's API header files
- DB instruments classes are not exposed to the C++ API
- POSIX callback functions of Thread.h are hidden
- the (optional) gig Engine benchmark compiles again
- updated Doxyfile.in
- fixed warnings in API doc generation
* preparations for release 0.5.0

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 schoenebeck 1424 # define compile time configuration macros.
21     INCLUDES=-include ../config.h
22 schoenebeck 851
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