summaryrefslogtreecommitdiffstats
path: root/ds9/make.include
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-02-28 19:01:01 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-02-28 19:01:01 (GMT)
commitf3948e04751f4612de942632917c744877c29955 (patch)
tree1539d1340862fb883ddfaa7315dd544bb43621d4 /ds9/make.include
parent0f602c5bdc3f3952d3a8aef3243c01209eb1b7f5 (diff)
downloadblt-f3948e04751f4612de942632917c744877c29955.zip
blt-f3948e04751f4612de942632917c744877c29955.tar.gz
blt-f3948e04751f4612de942632917c744877c29955.tar.bz2
add ds9 parsers
Diffstat (limited to 'ds9/make.include')
-rw-r--r--ds9/make.include18
1 files changed, 7 insertions, 11 deletions
diff --git a/ds9/make.include b/ds9/make.include
index 4726233..e6071df 100644
--- a/ds9/make.include
+++ b/ds9/make.include
@@ -1,16 +1,14 @@
#--------------------------parsers
-parsers : zoomparser
+parsers : $(PARSERS)
-zoomparser : ../library/zoomparser.tcl ../library/zoomlex.tcl
-
-../library/zoomparser.tcl : ../parsers/zoomparser.tac
+$(prefix)/ds9/library/zoomparser.tcl : $(prefix)/ds9/parsers/zoomparser.tac
tclsh $(prefix)/taccle/taccle.tcl -p zoom -d -v -w $<
- mv ../parsers/zoomparser*.tcl ../library/.
+ mv $(prefix)/ds9/parsers/zoomparser*.tcl $(prefix)/ds9/library/.
-../library/zoomlex.tcl : ../parsers/zoomlex.fcl
+$(prefix)/ds9/library/zoomlex.tcl : $(prefix)/ds9/parsers/zoomlex.fcl
tclsh $(prefix)/fickle/fickle.tcl -P zoom $<
- mv ../parsers/zoomlex.tcl ../library/.
+ mv $(prefix)/ds9/parsers/zoomlex.tcl $(prefix)/ds9/library/.
#%.tcl: %.fcl
#%.tcl: %.tac
@@ -89,7 +87,5 @@ distclean: clean
-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
-
+ -rm -f $(prefix)/ds9/library/*.output
+ -rm -f $(prefix)/ds9/parsers/*.output $(prefix)/ds9/parsers/*.tcl