CFLAGS=		-g $(DEFS)

all:	bsmtp-send note-send

bsmtp-send: bsmtp-send.o wrapper.o bitnetname.c
	$(CC) $(CFLAGS) -o $@ bsmtp-send.o wrapper.o bitnetname.c

note-send: note-send.o wrapper.o
	$(CC) $(CFLAGS) -o $@ note-send.o wrapper.o

install:
	. /etc/zmailer.conf ; install -c -m 0755 bsmtp-send $$MAILBIN/bin/.
	. /etc/zmailer.conf ; install -c -m 0755 note-send $$MAILBIN/bin/.

clean:
	rm -f bsmtp-send note-send *.o make.log
