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