aboutsummaryrefslogtreecommitdiff
path: root/noao/onedspec/scombine/mkpkg
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /noao/onedspec/scombine/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/onedspec/scombine/mkpkg')
-rw-r--r--noao/onedspec/scombine/mkpkg35
1 files changed, 35 insertions, 0 deletions
diff --git a/noao/onedspec/scombine/mkpkg b/noao/onedspec/scombine/mkpkg
new file mode 100644
index 00000000..ab60e45b
--- /dev/null
+++ b/noao/onedspec/scombine/mkpkg
@@ -0,0 +1,35 @@
+# SCOMBINE
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $update libpkg.a
+ $omake x_scombine.x
+ $link x_scombine.o libpkg.a -lsmw -lxtools -liminterp \
+ -o xx_scombine.e
+ ;
+
+install:
+ $move xx_scombine.e noaobin$x_scombine.e
+ ;
+
+
+libpkg.a:
+ @generic
+
+ icgdata.x <smw.h> icombine.com icombine.h
+ iclog.x <smw.h> icombine.com icombine.h <mach.h>
+ icombine.x <smw.h> icombine.com <mach.h> icombine.h
+ icscale.x <smw.h> icombine.com icombine.h <ctype.h> <error.h>\
+ <imhdr.h> <imset.h>
+ icstat.x <smw.h> icombine.com icombine.h
+ icsum.x icombine.com icombine.h
+ t_scombine.x <smw.h> icombine.h icombine.com <error.h> <imhdr.h>\
+ <mach.h>
+ ;