]>
Commit | Line | Data |
---|---|---|
b3d5ed96 SW |
1 | prefix = /usr/local |
2 | bindir = $(prefix)/bin | |
3 | INSTALL = install | |
4 | ||
5 | tl-append: | |
6 | ||
7 | %: %.c | |
8 | $(CC) -Wall -Wextra -pedantic -o $@ $^ | |
9 | ||
10 | .PHONY: check | |
11 | check: tl-append tl-append-test | |
12 | ./tl-append-test | |
13 | ||
14 | .PHONY: install | |
15 | install: tl-append | |
16 | $(INSTALL) -d $(DESTDIR)$(bindir) | |
17 | $(INSTALL) -m 755 $^ $(DESTDIR)$(bindir) |