install target

This commit is contained in:
Neale Pickett 2014-03-17 12:45:55 -06:00
parent 8e11fc0b4d
commit ceae73c1bb
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ all: $(TARGETS)
%: %.go %: %.go
go build $< go build $<
install: $(TARGETS)
install -d $(DESTDIR)$(PREFIX)
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
pmerge: pmerge.o pcap.o pmerge: pmerge.o pcap.o
puniq: puniq.o pcap.o puniq: puniq.o pcap.o