summaryrefslogtreecommitdiffstats
path: root/ds9/make.include
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-02-27 21:47:22 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-02-27 21:47:22 (GMT)
commitd781bf3954a1c9014dc596f0228ae52c08d66e79 (patch)
tree9f6fd82e5166881b24569fa19212ccdc940203a1 /ds9/make.include
parentce6caae3395949230e685564a975433fb2b3cd32 (diff)
downloadblt-d781bf3954a1c9014dc596f0228ae52c08d66e79.zip
blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.gz
blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.bz2
add ds9 parsers
Diffstat (limited to 'ds9/make.include')
-rw-r--r--ds9/make.include26
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
+