VERSION = "1.7" CC ?= gcc LIBS = /usr/local/lib/libeps.a DEFS ?= -I/usr/include/eps -L/usr/lib -DVERSION=$(VERSION) BINS = headers body address full b64encode b64decode rewrite fold qpdecode all: $(BINS) headers: headers.c $(CC) $(DEFS) -o headers headers.c $(LIBS) body: body.c $(CC) $(DEFS) -o body body.c $(LIBS) address: address.c $(CC) $(DEFS) -o address address.c $(LIBS) full: full.c $(CC) $(DEFS) -o full full.c $(LIBS) b64encode: b64encode.c $(CC) $(DEFS) -o b64encode b64encode.c $(LIBS) b64decode: b64decode.c $(CC) $(DEFS) -o b64decode b64decode.c $(LIBS) rewrite: rewrite.c $(CC) $(DEFS) -DOUTPUT -DRESTART -o rewrite rewrite.c $(LIBS) fold: fold.c $(CC) $(DEFS) -o fold fold.c $(LIBS) qpdecode: qpdecode.c $(CC) $(DEFS) -o qpdecode qpdecode.c $(LIBS) clean: rm -f *.o *.core core $(BINS)