]> git.scottworley.com Git - tl-append/blame - Makefile
make clean
[tl-append] / Makefile
CommitLineData
b3d5ed96
SW
1prefix = /usr/local
2bindir = $(prefix)/bin
3INSTALL = install
4
5tl-append:
6
7%: %.c
8 $(CC) -Wall -Wextra -pedantic -o $@ $^
9
10.PHONY: check
11check: tl-append tl-append-test
12 ./tl-append-test
13
14.PHONY: install
15install: tl-append
16 $(INSTALL) -d $(DESTDIR)$(bindir)
17 $(INSTALL) -m 755 $^ $(DESTDIR)$(bindir)
c40c4889
SW
18
19.PHONY: clean
20clean:
21 -rm tl-append tl-append-test tl.log