diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-18 21:37:02 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-10-18 21:37:02 +0300 |
commit | 2efc087cd4f70c07523b82941259a5d2597b4460 (patch) | |
tree | 46d1ba26e158cc5a04ae857d2976a694732c47a6 /Makefile | |
parent | fcadd18b07e55f4a6d21f9f378de9ded25be7e67 (diff) |
Add some tools
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,13 +9,15 @@ WARNINGS := -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-ove override CFLAGS ?= -g override CFLAGS += -std=c99 -D_DEFAULT_SOURCE $(WARNINGS) -bins = proc-region-rw +bins = proc-region-rw binsearch bintrim all: $(bins) $(bins): %: $(LINK.c) $^ $(LDLIBS) -o $@ proc-region-rw: proc-region-rw.c +binsearch: binsearch.c +bintrim: bintrim.c install-bin: $(bins) install -Dm755 $^ -t "$(DESTDIR)$(PREFIX)$(bindir)" |