From d1f149e098ac639110671ce64df38f3ccc6060af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 23 Nov 2013 02:44:43 +0000 Subject: Makefile: simplify EINA_LOG support --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 949524c..db01b94 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ CC = gcc CFLAGS = -ggdb3 `pkg-config --cflags --libs eina` BIN = eo_tokenizer SRC = main.c eo_tokenizer.c +LOG = EINA_LOG_LEVELS=eo_toknz:4 .PHONY: clean .SUFFIXES: .rl .xml .dot .png @@ -32,7 +33,7 @@ eo_tokenizer.png: eo_tokenizer.dot eo_tokenizer: main.c eo_tokenizer.c eo_tokenizer.h test-comments: eo_tokenizer - EINA_LOG_LEVELS=eo_toknz:4 ./eo_tokenizer ./data/comments.c + $(LOG) ./eo_tokenizer ./data/comments.c clean: rm -f *~ *.o *.dot *.png *.xml $(BIN).c $(BIN) -- cgit v1.1-2-g2b99