From 438cfc61ee3fae8875dbbf24a44fa7d75969f2b3 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Wed, 6 Jun 2012 21:42:40 +0000 Subject: Ajout Makefile, résolution crash malloc (tableau statique à la place). Données audio 2 channels : apparament avec un offset style [i*nchan] on obtient bcp de valeurs à 0... FFT : valeurs en sortie toutes pétées, faut débugguer. Conso CPU : correcte MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2012-violon-leds/trunk@13 6be1fa4d-33ac-4c33-becc-79fcb3794bb6 --- tests/test5/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/test5/Makefile (limited to 'tests/test5/Makefile') diff --git a/tests/test5/Makefile b/tests/test5/Makefile new file mode 100644 index 0000000..8d5e47b --- /dev/null +++ b/tests/test5/Makefile @@ -0,0 +1,29 @@ +CC=gcc +CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -g +LDFLAGS=-Werror -g +EXEC=test5 + +CFLAGS+=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0 libpulse) +LDFLAGS+=$(shell pkg-config --libs gtk+-2.0 gthread-2.0 libpulse) + +SRC= $(wildcard *.c) +OBJ= $(SRC:.c=.o) + +all: $(EXEC) + +$(EXEC): $(OBJ) + $(CC) -o $@ $^ $(LDFLAGS) + +#main.o: hello.h + +%.o: %.c + $(CC) -o $@ -c $< $(CFLAGS) + +.PHONY: clean mrproper + +clean: + rm *.o + +mrproper: clean + rm $(EXEC) + -- cgit v1.2.3