Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
230:af211ee57867 | 231:c0bf6157f67e |
---|---|
6 # This Makefile is intended for use on the BeagleBone Black itself | 6 # This Makefile is intended for use on the BeagleBone Black itself |
7 # and not for cross-compiling | 7 # and not for cross-compiling |
8 | 8 |
9 RM := rm -rf | 9 RM := rm -rf |
10 STATIC_LIBS := ./libprussdrv.a ./libNE10.a | 10 STATIC_LIBS := ./libprussdrv.a ./libNE10.a |
11 LIBS := -lrt -lnative -lxenomai -lsndfile | 11 LIBS := -lrt -lnative -lxenomai -lsndfile -lpd |
12 | 12 |
13 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 | 13 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 |
14 | 14 |
15 | 15 |
16 ASM_SRCS := $(wildcard source/*.S) | 16 ASM_SRCS := $(wildcard source/*.S) |
34 # only wants to provide the render functions. | 34 # only wants to provide the render functions. |
35 DEFAULT_MAIN_CPP_SRCS := ./core/default_main.cpp | 35 DEFAULT_MAIN_CPP_SRCS := ./core/default_main.cpp |
36 DEFAULT_MAIN_OBJS := ./build/core/default_main.o | 36 DEFAULT_MAIN_OBJS := ./build/core/default_main.o |
37 DEFAULT_MAIN_CPP_DEPS := ./build/core/default_main.d | 37 DEFAULT_MAIN_CPP_DEPS := ./build/core/default_main.d |
38 | 38 |
39 CPP_FLAGS=-O2 | 39 CPP_FLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon --fast-math -ftree-vectorize |
40 C_FLAGS=-O2 | 40 C_FLAGS=-O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon --fast-math -ftree-vectorize |
41 | 41 |
42 # all = build BeagleRT | 42 # all = build BeagleRT |
43 all: SYNTAX_FLAG := | 43 all: SYNTAX_FLAG := |
44 all: BeagleRT | 44 all: BeagleRT |
45 | 45 |