mirror of https://github.com/dirtbags/fluffy.git
Clean up build
This commit is contained in:
parent
6d3d01630b
commit
d0994e4ed8
15
Makefile
15
Makefile
|
@ -1,13 +1,16 @@
|
||||||
CFLAGS = -Wall -Werror
|
CFLAGS = -Wall -Werror
|
||||||
TARGETS = pmerge puniq p4split pcat
|
TARGETS += pmerge
|
||||||
TARGETS += hd pyesc printfesc xor unhex
|
TARGETS += puniq
|
||||||
|
TARGETS += p4split
|
||||||
|
TARGETS += hd
|
||||||
|
TARGETS += pyesc
|
||||||
|
TARGETS += printfesc
|
||||||
|
TARGETS += xor
|
||||||
|
TARGETS += unhex
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
%: %.go
|
nstall: $(TARGETS)
|
||||||
go build $<
|
|
||||||
|
|
||||||
install: $(TARGETS)
|
|
||||||
install -d $(DESTDIR)$(PREFIX)
|
install -d $(DESTDIR)$(PREFIX)
|
||||||
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
|
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue