
TOP=../..
include $(TOP)/Makeconf

%.oct: %.cc ; $(MKOCTFILE) -DHAVE_OCTAVE_$(ver) $(XFLAGS) $<

PROGS = gtext.oct ginput.oct

ifdef XFLAGS
  all: $(PROGS)
else
  all:
	@echo "*** [$(PROGS)] require XFLAGS, and so are not built."
endif

clean: 
	$(RM) *.o $(PROGS) octave-core
