2744b2344d
I looked a bit at my old BK tools for the same thing, but they were just so horrid in many ways that I largely rewrote it all and these tools do things a bit differently. Instead of aggressively piping data from one process to another (which was clever but very hard to follow), this first just splits out the mbox into many smaller email files, and then does some scripts on these temporary files.
15 lines
213 B
Makefile
15 lines
213 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -O2
|
|
HOME=$(shell echo $$HOME)
|
|
|
|
PROGRAMS=mailsplit mailinfo
|
|
SCRIPTS=
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
install: $(PROGRAMS) $(SCRIPTS)
|
|
cp -f $(PROGRAMS) $(SCRIPTS) $(HOME)/bin/
|
|
|
|
clean:
|
|
rm -f $(PROGRAMS) *.o
|