2013-07-23 16:30:38 -06:00
|
|
|
CFLAGS = -Wall -Werror
|
2014-03-20 11:10:22 -06:00
|
|
|
TARGETS += pmerge
|
|
|
|
TARGETS += puniq
|
|
|
|
TARGETS += hd
|
|
|
|
TARGETS += pyesc
|
|
|
|
TARGETS += printfesc
|
|
|
|
TARGETS += xor
|
|
|
|
TARGETS += unhex
|
2017-06-16 11:48:05 -06:00
|
|
|
TARGETS += pcat
|
2017-08-08 18:44:44 -06:00
|
|
|
TARGETS += skip
|
|
|
|
TARGETS += hex
|
2011-04-21 16:12:01 -06:00
|
|
|
|
2011-04-22 12:47:08 -06:00
|
|
|
all: $(TARGETS)
|
|
|
|
|
2014-06-10 10:40:51 -06:00
|
|
|
install: $(TARGETS)
|
|
|
|
install -d $(DESTDIR)$(PREFIX)/bin
|
2014-03-17 12:45:55 -06:00
|
|
|
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
|
2013-07-23 16:30:38 -06:00
|
|
|
|
2011-04-22 12:47:08 -06:00
|
|
|
pmerge: pmerge.o pcap.o
|
2013-07-23 16:30:38 -06:00
|
|
|
|
2011-04-22 12:47:08 -06:00
|
|
|
puniq: puniq.o pcap.o
|
2013-07-23 16:30:38 -06:00
|
|
|
|
|
|
|
p4split: p4split.o pcap.o
|
|
|
|
|
|
|
|
pcat: pcat.o pcap.o stream.o
|
|
|
|
pcat.o: CFLAGS += -Wno-unused-variable
|
2011-04-22 12:47:08 -06:00
|
|
|
|
|
|
|
clean:
|
2011-07-14 18:55:41 -06:00
|
|
|
rm -f $(TARGETS) *.o
|