diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-02-27 21:47:22 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-02-27 21:47:22 (GMT) |
commit | d781bf3954a1c9014dc596f0228ae52c08d66e79 (patch) | |
tree | 9f6fd82e5166881b24569fa19212ccdc940203a1 /ds9/make.include | |
parent | ce6caae3395949230e685564a975433fb2b3cd32 (diff) | |
download | blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.zip blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.gz blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.bz2 |
add ds9 parsers
Diffstat (limited to 'ds9/make.include')
-rw-r--r-- | ds9/make.include | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/ds9/make.include b/ds9/make.include index c49aa53..10facd8 100644 --- a/ds9/make.include +++ b/ds9/make.include @@ -1,3 +1,20 @@ +#--------------------------parsers + +parsers : zoomparser + +zoomparser : ../library/zoomparser.tcl ../library/zoomlex.tcl + +../library/zoomparser.tcl : ../parsers/zoomparser.tac + tclsh $(prefix)/taccle/taccle.tcl -p zoom -d -v -w $< + mv ../parsers/zoomparser*.tcl ../library/. + +../library/zoomlex.tcl : ../parsers/zoomlex.fcl + tclsh $(prefix)/fickle/fickle.tcl -P zoom $< + mv ../parsers/zoomlex.tcl ../library/. + +#%.tcl: %.fcl +#%.tcl: %.tac + #--------------------------framework $(LIBDIR)/library : $(prefix)/ds9/library/*.tcl @@ -65,9 +82,14 @@ $(LIBDIR)/math : $(prefix)/tcllib/modules/math #--------------------------distclean -.PHONY : distclean +.PHONY : distclean parsersclean -distclean: clean +distclean: clean parsersclean -rm -f Makefile config.cache config.log config.status -rm -rf autom4te.cache +parsersclean: + -rm -f ../library/*.output ../library/*.tab.tcl + -rm -f ../library/zoomparser.tcl ../library/zoomlex.tcl + -rm -f ../parsers/*.output ../parsers/*.tcl + |