diff Makefile @ 231:c0bf6157f67e mergingClockSync

Added some optimizations
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 10 Apr 2016 02:38:16 +0200
parents 5f53b838b742
children adfe95c3cd73
line wrap: on
line diff
--- a/Makefile	Sat Apr 09 08:19:09 2016 +0100
+++ b/Makefile	Sun Apr 10 02:38:16 2016 +0200
@@ -8,7 +8,7 @@
 
 RM := rm -rf
 STATIC_LIBS := ./libprussdrv.a ./libNE10.a
-LIBS := -lrt -lnative -lxenomai -lsndfile
+LIBS := -lrt -lnative -lxenomai -lsndfile -lpd 
 
 INCLUDES := -I./include -I/usr/include/ne10 -I/usr/xenomai/include -I/usr/arm-linux-gnueabihf/include/xenomai/include -I/usr/arm-linux-gnueabihf/include/ne10
 
@@ -36,8 +36,8 @@
 DEFAULT_MAIN_OBJS := ./build/core/default_main.o
 DEFAULT_MAIN_CPP_DEPS := ./build/core/default_main.d
 
-CPP_FLAGS=-O2
-C_FLAGS=-O2
+CPP_FLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon --fast-math -ftree-vectorize 
+C_FLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon --fast-math -ftree-vectorize 
 
 # all = build BeagleRT 
 all: SYNTAX_FLAG :=