From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- noao/astutil/mkpkg | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 noao/astutil/mkpkg (limited to 'noao/astutil/mkpkg') diff --git a/noao/astutil/mkpkg b/noao/astutil/mkpkg new file mode 100644 index 00000000..c95f0653 --- /dev/null +++ b/noao/astutil/mkpkg @@ -0,0 +1,52 @@ +# Make the ASTUTIL package. + +$call asttools +$call relink +$exit + +update: + $call relink + $call install + ; + +relink: + $set LIBS = "-lasttools -lxtools -lcurfit -lbev" + + $update libpkg.a + $omake x_astutil.x + $link x_astutil.o libpkg.a $(LIBS) -o xx_astutil.e + ; + +install: + $move xx_astutil.e noaobin$x_astutil.e + ; + +asttools: + $checkout libasttools.a noaolib$ + $update libasttools.a + $checkin libasttools.a noaolib$ + ; + +libasttools.a: + @asttools + ; + +libpkg.a: + @pdm + + airmass.x + astfunc.x astfunc.h \ + + galactic.x + precess.x + t_astcalc.x astfunc.h \ + + t_asthedit.x astfunc.h \ + + t_asttimes.x + t_gratings.x + t_obs.x + t_rvcorrect.x rvcorrect.com + t_setairmass.x + t_setjd.x + ; -- cgit