fluffy/Makefile

33 lines
541 B
Makefile
Raw Normal View History

2013-07-23 16:30:38 -06:00
CFLAGS = -Wall -Werror
2017-08-13 11:52:17 -06:00
2014-03-20 11:10:22 -06:00
TARGETS += pmerge
TARGETS += puniq
TARGETS += hd
TARGETS += pyesc
TARGETS += xor
TARGETS += unhex
2017-06-16 11:48:05 -06:00
TARGETS += pcat
TARGETS += slice
TARGETS += hex
2011-04-21 16:12:01 -06:00
2017-08-13 11:52:17 -06:00
SCRIPTS += octets
2011-04-22 12:47:08 -06:00
all: $(TARGETS)
2017-08-13 11:52:17 -06:00
install: $(TARGETS) $(SCRIPTS)
2014-06-10 10:40:51 -06:00
install -d $(DESTDIR)$(PREFIX)/bin
2014-03-17 12:45:55 -06:00
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
2017-08-13 11:52:17 -06:00
install $(SCRIPTS) $(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