diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2012-06-17 10:15:22 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2012-06-17 10:15:22 +0000 |
commit | 4e5e5f8f6a59be55b0eba83c8128011ef24ca8ff (patch) | |
tree | aa3a7be68fb468b692baaf1f426840d139ebda30 /src/Makefile | |
parent | 96d4d223a6e2790e6269cd3b19b4944d99d61eb3 (diff) | |
download | 2012-violon-leds-4e5e5f8f6a59be55b0eba83c8128011ef24ca8ff.tar.gz 2012-violon-leds-4e5e5f8f6a59be55b0eba83c8128011ef24ca8ff.tar.bz2 2012-violon-leds-4e5e5f8f6a59be55b0eba83c8128011ef24ca8ff.zip |
Tentatives pour capture que le micro et pas la sortie de mixer (mais j'ai pas tout compris encore...)
Tentative compilation -O2. Ca marche mais ça change un peu le comportement des buffers...
git-svn-id: file:///var/svn/2012-violon-leds/trunk@22 6be1fa4d-33ac-4c33-becc-79fcb3794bb6
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 6b93d4c..f8b0aaf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,18 @@ CC=gcc -CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -g -LDFLAGS=-Werror -g +# For debug +#CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -g +#LDFLAGS=-Werror -g + +# For release +CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -O2 +LDFLAGS=-Werror EXEC=music2light CFLAGS+=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0 libpulse) -# Maths for FFT related code, libftdi is the driver for USB2DMX module, rt is for ftdi +# Maths for FFT related code, libftdi is the driver for USB2DMX module LDFLAGS+=-lm -lftdi -# -lrt +# -lrt for nanosleep but create many tiny buffers from PulseAudio +#LDFLAGS+=-lm -lftdi -lrt LDFLAGS+=$(shell pkg-config --libs gtk+-2.0 gthread-2.0 libpulse) SRC= $(wildcard *.c) |