aboutsummaryrefslogtreecommitdiff
path: root/noao/twodspec/longslit/mkpkg
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/twodspec/longslit/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/twodspec/longslit/mkpkg')
-rw-r--r--noao/twodspec/longslit/mkpkg41
1 files changed, 41 insertions, 0 deletions
diff --git a/noao/twodspec/longslit/mkpkg b/noao/twodspec/longslit/mkpkg
new file mode 100644
index 00000000..7af807cd
--- /dev/null
+++ b/noao/twodspec/longslit/mkpkg
@@ -0,0 +1,41 @@
+# LONGSLIT Package
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $call longslit
+ ;
+
+install:
+ $move xx_longslit.e noaobin$x_longslit.e
+ ;
+
+longslit:
+ $omake x_longslit.x
+ $omake x_longslit.x
+ $link x_longslit.o libpkg.a -lsmw -lxtools -lcurfit -liminterp\
+ -lgsurfit -o xx_longslit.e
+ ;
+
+libpkg.a:
+ @transform
+ @lscombine
+
+ airmass.x <math.h>
+ extinction.x <error.h> <imhdr.h>
+ fluxcalib.x <error.h> <imhdr.h> <math/iminterp.h>
+ getdaxis.x
+ illumination.x <error.h> <imhdr.h> <math/iminterp.h> <pkg/gtools.h>\
+ <pkg/rg.h> <pkg/xtanswer.h>
+ ilsetbins.x <gset.h> <imhdr.h> <pkg/gtools.h> <pkg/rg.h>\
+ <pkg/xtanswer.h>
+ lstools.x <imhdr.h>
+ response.x <imhdr.h> <pkg/gtools.h> <pkg/xtanswer.h>
+ ;