summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)