summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-23 03:44:43 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-23 03:44:43 +0100
commitd1f149e098ac639110671ce64df38f3ccc6060af (patch)
treedb579926933cd077933a5b5611c4feb4d9fc9693
parent6d39843b93861be73acf505045d623722befb5fd (diff)
downloadeo_tokenizer-d1f149e098ac639110671ce64df38f3ccc6060af.zip
eo_tokenizer-d1f149e098ac639110671ce64df38f3ccc6060af.tar.gz
Makefile: simplify EINA_LOG support
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)