mirror of
https://github.com/tat3r/tdfiglet.git
synced 2024-11-16 13:16:41 +00:00
added 'test' rule in Makefile
This commit is contained in:
parent
7bf2af6c2b
commit
486346d08e
4
Makefile
4
Makefile
@ -18,7 +18,7 @@ endif
|
|||||||
default: $(SRC)
|
default: $(SRC)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(PROG)
|
$(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(PROG)
|
||||||
|
|
||||||
.PHONY: debug clean install
|
.PHONY: debug clean install test
|
||||||
|
|
||||||
install:
|
install:
|
||||||
test -d $(PREFIX)/bin || mkdir -p $(PREFIX)/bin
|
test -d $(PREFIX)/bin || mkdir -p $(PREFIX)/bin
|
||||||
@ -34,3 +34,5 @@ debug: $(SRC)
|
|||||||
clean:
|
clean:
|
||||||
rm -rf $(PROG) $(PROG).dSYM
|
rm -rf $(PROG) $(PROG).dSYM
|
||||||
|
|
||||||
|
test: $(PROG)
|
||||||
|
for i in fonts/*.tdf; do echo $$i; ./tdfiglet -f $$i -jc Test; done | less -R
|
||||||
|
Loading…
Reference in New Issue
Block a user