#####################################################
# Makefile for examples of Grace                    #
#####################################################
# You should not change anything here.              #
#####################################################

TOP=..

include $(TOP)/Make.conf

DOTEST = dotest$(BAT)

EXAMPLES =  ng_explain.agr ng_arcs.agr ng_import.agr ng_diode.agr ng_mixed.agr ng_follow_me.agr \
	ng_fourier.agr ng_fourier2.agr ng_nonlfit.agr ng_nonlfitb.agr \
	ng_spectrum2.agr ng_spline.agr ng_xyspline.agr ng_polar2.agr ng_xyvmap.agr ng_xycmap.agr \
	ng_france.agr ng_france.dat ng_reciprocal.agr \
	ng_wavelet.agr ng_wavelet.dat ng_wavelet2.agr ng_waveletb.agr \
	altaxis.par logtest.par times.agr \
	au.agr manygraphs.agr terr.agr tinset.agr \
	axes.agr mlo.dat tlog.agr log2.agr log2log.agr logit.agr reciprocal.agr \
	bar.agr explain.agr test.com tmc.c \
	fills.agr props.agr test.dat \
	chartebar.agr charts.agr graphs.par regions.par test1.par tstack.agr \
	brw.dat hilo.agr test2.agr arrows.agr txyr.agr \
	co2.agr log.dat stackedb.agr tfonts.agr typeset.agr xyz.agr \
	co2.par logistic.agr logistic.fit symslines.agr tforms.par polar.agr \
	motif.agr spectrum.agr pie.agr txttrans.agr boxplot.agr vmap.agr \
	xysize.agr xycolor.agr 


all : dummy

clean : dummy

distclean : dummy

devclean : dummy

install : $(EXAMPLES) $(DOTEST)
	$(MKINSTALLDIRS) $(DESTDIR)$(GRACEGTK_HOME)/examples
	for i in $(EXAMPLES); do $(INSTALL_DATA) $$i $(DESTDIR)$(GRACEGTK_HOME)/examples; done
	$(INSTALL_DATA) 1_example_import.dat $(DESTDIR)$(GRACEGTK_HOME)/examples
	$(INSTALL_PROGRAM) $(DOTEST) $(DESTDIR)$(GRACEGTK_HOME)/examples/$(DOTEST)

links : dummy

tests : $(EXAMPLES) $(DOTEST)
	./$(DOTEST)

tpipe : 
	dopipe$(BAT)


dummy :

