From 593e1cbe3470f409c19a7f06f5d10c6f5677361a Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 16 Jun 2012 21:16:46 +0000 Subject: Bon, calcul du niveau sonore dans la plage 200 à 2000Hz en reprennant les choses calmement. Il n'est pas impossible que les valeurs soient bonnes :P 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@19 6be1fa4d-33ac-4c33-becc-79fcb3794bb6 --- tests/test6/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/test6/Makefile (limited to 'tests/test6/Makefile') diff --git a/tests/test6/Makefile b/tests/test6/Makefile new file mode 100644 index 0000000..560ff03 --- /dev/null +++ b/tests/test6/Makefile @@ -0,0 +1,30 @@ +CC=gcc +CFLAGS=-W -Wall -Werror -Wno-error=unused-parameter -g +LDFLAGS=-Werror -g +EXEC=test6 + +#CFLAGS+=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0 libpulse) +#LDFLAGS+=$(shell pkg-config --libs gtk+-2.0 gthread-2.0 libpulse) +LDFLAGS+=-lm + +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