include ../../../makeinfo

CFLAGS += -I../../../bindings/c -L../../../bindings/c -lmoomethod
bins = write prompt clear password mcpsession_send

build: $(bins)
	$(STRIP_PROGRAM) $(bins)
	# They're all stackless so they can connect to the socket.
	# They do little else but, so this is fine. EXCEPT mcpsession_send.
	$(SETSTACKLESS) write prompt clear password
	# This one calls simpleedit_content, which needs to set some
	# fields. The mixin method is not itself stackless, because who
	# knows how it might be called.
	$(SETSTACKLESS) edit
	ln -f write page

clean:
	rm -rf $(bins) page

realclean:
