=========================================================
Windows Samples
=========================================================

Using with only ami_bmp (bmp) and without openmp 
------------------------------------------------

 c:/mingw/bin/mingw32-make.exe -e CXX=c:/mingw/bin/g++.exe

or

 make -e CXX=g++



Using with only ami_bmp (bmp) and with openmp
---------------------------------------------

 c:/mingw/bin/mingw32-make.exe -e CXX=c:/mingw/bin/g++.exe -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp

or

 make -e CXX=g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp



-------------------
Architecture option
-------------------

if you have an error during compile like: "undefined reference: __sync_fetch_and_add_4". You have to use -e ARCH=-march=i586, for example:

 c:/mingw/bin/mingw32-make.exe -e CXX=c:/mingw/bin/g++.exe -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp -e ARCH=-march=i586

or 

 make -e CXX=g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp -e ARCH=-march=i586



=========================================================
Linux Samples
=========================================================

Using openmp and ami_bmp (bmp)
------------------------------------

 usr/bin/make -e CXX= usr/bin/g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp

or

 make -e CXX= g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp



Using with ami_bmp (bmp) and without openmp 
-------------------------------------------
 
 usr/bin/make -e CXX= usr/bin/g++ 

or

 make -e CXX= g++ 


-------------------
Architecture option
-------------------

if you have an error during compile like: "undefined reference: __sync_fetch_and_add_4". You have to use -e ARCH=-march=i586, for example:

 usr/bin/make -e CXX=usr/bin/g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp -e ARCH=-march=i586

or 

 make -e CXX=g++ -e OMPD=-DAMI_OMP_H -e OMPF=-fopenmp -e ARCH=-march=i586







































