diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-06-14 12:48:56 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-06-14 12:48:56 +0100 |
| commit | 5855b319bd26e2e5dc01b5f69b38b6f3c395083d (patch) | |
| tree | 4f58299bd804a4fc806eb682ebd3c1ebd6f22cce /03_play/config.mak | |
| parent | 53f3b2d36df7e41bd1c0d21eb0d9fefbf640a407 (diff) | |
| parent | 5052435512c16b7325ba89ddf06c8f046af7e4f3 (diff) | |
x
Merge branch 'master' of eclectronics.org@eclectronics.org:TRSS
Diffstat (limited to '03_play/config.mak')
| -rwxr-xr-x | 03_play/config.mak | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/03_play/config.mak b/03_play/config.mak new file mode 100755 index 0000000..cb19ecf --- /dev/null +++ b/03_play/config.mak @@ -0,0 +1,56 @@ +# add custom variables to this file + +# OF_ROOT allows to move projects outside apps/* just set this variable to the +# absoulte path to the OF root folder + +OF_ROOT = ../../../../../ + + +# USER_CFLAGS allows to pass custom flags to the compiler +# for example search paths like: +# USER_CFLAGS = -I src/objects + +USER_CFLAGS = -I $(OF_ROOT)/addons/ofxOpenNI/include/openni -I $(OF_ROOT)/addons/ofxOpenNI/include/nite -I $(OF_ROOT)/addons/ofxOpenNI/src + + +# USER_LDFLAGS allows to pass custom flags to the linker +# for example libraries like: +# USER_LDFLAGS = libs/libawesomelib.a + +#USER_LDFLAGS = -lOpenNI +USER_LDFLAGS = -L bin/data/openni/lib -L ../../../data/openni/lib/libusb-1.0.0.dylib -lOpenNI + +EXCLUDE_FROM_SOURCE="bin,.xcodeproj,obj" + +# change this to add different compiler optimizations to your project + +USER_COMPILER_OPTIMIZATION = -march=native -mtune=native -Os + + +# android specific, in case you want to use different optimizations +USER_LIBS_ARM = +USER_LIBS_ARM7 = +USER_LIBS_NEON = + +# android optimizations + +ANDROID_COMPILER_OPTIMIZATION = -Os + +NDK_PLATFORM = android-8 + +# uncomment this for custom application name (if the folder name is different than the application name) +#APPNAME = folderName + +# uncomment this for custom package name, must be the same as the java package that contains OFActivity +#PKGNAME = cc.openframeworks.$(APPNAME) + + + + + +# linux arm flags + +LINUX_ARM7_COMPILER_OPTIMIZATIONS = -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=hard -mfpu=vfp + + + |
