summaryrefslogtreecommitdiff
path: root/config.make
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-06-19 01:43:09 +0100
committerComment <tim@gray.(none)>2013-06-19 01:43:09 +0100
commitd035816f49ad9d8d7ae42d5e1aec7207cd84820e (patch)
tree819f3592c779bf55027fc3f2a46490842ef873d7 /config.make
parent643442a18323f563f75c20f32ef3488f68b74570 (diff)
update makefile
Diffstat (limited to 'config.make')
-rw-r--r--config.make42
1 files changed, 32 insertions, 10 deletions
diff --git a/config.make b/config.make
index 1b76a34..261aa2e 100644
--- a/config.make
+++ b/config.make
@@ -3,32 +3,54 @@
# OF_ROOT allows to move projects outside apps/* just set this variable to the
# absoulte path to the OF root folder
-OF_ROOT = ../../..
+OF_ROOT = ../openFrameworks
# USER_CFLAGS allows to pass custom flags to the compiler
# for example search paths like:
# USER_CFLAGS = -I src/objects
-USER_CFLAGS =
+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_LD_FLAGS = libs/libawesomelib.a
+# USER_LDFLAGS = libs/libawesomelib.a
-USER_LDFLAGS =
+USER_LDFLAGS = -lusb-1.0
-# use this to add system libraries for example:
-# USER_LIBS = -lpango
-
-#USER_LIBS = -lportaudio
-
+EXCLUDE_FROM_SOURCE="bin,.xcodeproj,obj"
# change this to add different compiler optimizations to your project
USER_COMPILER_OPTIMIZATION = -march=native -mtune=native -Os
-EXCLUDE_FROM_SOURCE="bin,.xcodeproj,obj"
+# 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
+
+
+