diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-23 03:44:43 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-23 03:44:43 +0100 |
commit | d1f149e098ac639110671ce64df38f3ccc6060af (patch) | |
tree | db579926933cd077933a5b5611c4feb4d9fc9693 | |
parent | 6d39843b93861be73acf505045d623722befb5fd (diff) | |
download | eo_tokenizer-d1f149e098ac639110671ce64df38f3ccc6060af.zip eo_tokenizer-d1f149e098ac639110671ce64df38f3ccc6060af.tar.gz |
Makefile: simplify EINA_LOG support
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |