Clean up build

This commit is contained in:
Neale Pickett 2014-03-20 11:10:22 -06:00
parent 6d3d01630b
commit d0994e4ed8
1 changed files with 9 additions and 6 deletions

View File

@ -1,13 +1,16 @@
CFLAGS = -Wall -Werror
TARGETS = pmerge puniq p4split pcat
TARGETS += hd pyesc printfesc xor unhex
TARGETS += pmerge
TARGETS += puniq
TARGETS += p4split
TARGETS += hd
TARGETS += pyesc
TARGETS += printfesc
TARGETS += xor
TARGETS += unhex
all: $(TARGETS)
%: %.go
go build $<
install: $(TARGETS)
nstall: $(TARGETS)
install -d $(DESTDIR)$(PREFIX)
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin