summaryrefslogtreecommitdiffstats
path: root/ds9/make.include
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-02-24 21:57:29 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-02-24 21:57:29 (GMT)
commitd3a9b9f899af36b50a1f344e34692de035782912 (patch)
treeb6634b5461c37344d88da5da64156e1722abf104 /ds9/make.include
parent74683dd17324cba287626e4e80ba10fd99843a32 (diff)
downloadblt-d3a9b9f899af36b50a1f344e34692de035782912.zip
blt-d3a9b9f899af36b50a1f344e34692de035782912.tar.gz
blt-d3a9b9f899af36b50a1f344e34692de035782912.tar.bz2
zoom parser
Diffstat (limited to 'ds9/make.include')
-rw-r--r--ds9/make.include17
1 files changed, 10 insertions, 7 deletions
diff --git a/ds9/make.include b/ds9/make.include
index 7b3684a..4264fdc 100644
--- a/ds9/make.include
+++ b/ds9/make.include
@@ -1,14 +1,16 @@
#--------------------------parser
-%.tcl: %.fcl
- tclsh $(prefix)/fickle/fickle.tcl -P zoom $<
+libparsers : zoomparser
+zoomparser : ../library/zoomparser.tcl ../library/zoomlex.tcl
-%.tcl: %.tac
+../library/zoomparser.tcl : ../library/zoomparser.tac
tclsh $(prefix)/taccle/taccle.tcl -p zoom -d -v -w $<
+../library/zoomlex.tcl : ../library/zoomlex.fcl
+ tclsh $(prefix)/fickle/fickle.tcl -P zoom $<
#--------------------------framework
-$(LIBDIR)/library : $(prefix)/ds9/library/parser.tcl $(prefix)/ds9/library/parser.tab.tcl $(prefix)/ds9/library/lex.tcl $(prefix)/ds9/library/*.tcl
+$(LIBDIR)/library : $(prefix)/ds9/library/*.tcl
mkdir -p "$@"
cp -p $? "$@"
# must do it this way for win
@@ -75,10 +77,11 @@ $(LIBDIR)/math : $(prefix)/tcllib/modules/math
.PHONY : distclean
-distclean: clean parserclean
+distclean: clean parsersclean
-rm -f Makefile config.cache config.log config.status
-rm -rf autom4te.cache
-parserclean:
- -rm -f ../library/parser.tcl ../library/parser.output ../library/parser.tab.tcl ../library/lex.tcl
+parsersclean:
+ -rm -f ../library/*.output ../library/*.tab.tcl
+ -rm -f ../library/zoomparser.tcl ../library/zoomlex.tcl