From 486346d08e4104c92d2ea1dfc66fda76c5bbfc42 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 26 Jul 2022 19:40:04 +0200 Subject: [PATCH] added 'test' rule in Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 701737a..8a6c7ab 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ endif default: $(SRC) $(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(PROG) -.PHONY: debug clean install +.PHONY: debug clean install test install: test -d $(PREFIX)/bin || mkdir -p $(PREFIX)/bin @@ -34,3 +34,5 @@ debug: $(SRC) clean: rm -rf $(PROG) $(PROG).dSYM +test: $(PROG) + for i in fonts/*.tdf; do echo $$i; ./tdfiglet -f $$i -jc Test; done | less -R