Jeremy Kerr | 7ce7e8a | 2016-02-25 10:24:14 +0800 | [diff] [blame] | 1 | |
2 | CC = gcc | ||||
3 | CFLAGS = -Wall -Wextra -Werror | ||||
Jeremy Kerr | 19ed517 | 2016-03-04 16:24:03 +0800 | [diff] [blame^] | 4 | INSTALL = install |
5 | prefix = /usr/local | ||||
6 | sbindir = ${prefix}/sbin | ||||
Jeremy Kerr | 7ce7e8a | 2016-02-25 10:24:14 +0800 | [diff] [blame] | 7 | |
8 | all: inarp | ||||
Jeremy Kerr | 19ed517 | 2016-03-04 16:24:03 +0800 | [diff] [blame^] | 9 | |
10 | .PHONY: clean | ||||
11 | clean: | ||||
12 | rm -f inarp | ||||
13 | |||||
14 | .PHONY: install | ||||
15 | install: all | ||||
16 | $(INSTALL) -m 0755 -D inarp $(DESTDIR)$(sbindir)/inarp |