mirror of https://github.com/dirtbags/fluffy.git
33 lines
541 B
Makefile
33 lines
541 B
Makefile
CFLAGS = -Wall -Werror
|
|
|
|
TARGETS += pmerge
|
|
TARGETS += puniq
|
|
TARGETS += hd
|
|
TARGETS += pyesc
|
|
TARGETS += xor
|
|
TARGETS += unhex
|
|
TARGETS += pcat
|
|
TARGETS += slice
|
|
TARGETS += hex
|
|
|
|
SCRIPTS += octets
|
|
|
|
all: $(TARGETS)
|
|
|
|
install: $(TARGETS) $(SCRIPTS)
|
|
install -d $(DESTDIR)$(PREFIX)/bin
|
|
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
|
|
install $(SCRIPTS) $(DESTDIR)$(PREFIX)/bin
|
|
|
|
pmerge: pmerge.o pcap.o
|
|
|
|
puniq: puniq.o pcap.o
|
|
|
|
p4split: p4split.o pcap.o
|
|
|
|
pcat: pcat.o pcap.o stream.o
|
|
pcat.o: CFLAGS += -Wno-unused-variable
|
|
|
|
clean:
|
|
rm -f $(TARGETS) *.o
|