aboutsummaryrefslogtreecommitdiff
path: root/noao/imred/irred/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/imred/irred/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/imred/irred/mkpkg')
-rw-r--r--noao/imred/irred/mkpkg24
1 files changed, 24 insertions, 0 deletions
diff --git a/noao/imred/irred/mkpkg b/noao/imred/irred/mkpkg
new file mode 100644
index 00000000..b62021e8
--- /dev/null
+++ b/noao/imred/irred/mkpkg
@@ -0,0 +1,24 @@
+# Make the IRRED package.
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $set LIBS="-lxtools"
+ $update libpkg.a
+ $omake x_irred.x
+ $link x_irred.o libpkg.a $(LIBS) -o xx_irred.e
+ ;
+
+install:
+ $move xx_irred.e noaobin$x_irred.e
+ ;
+
+libpkg.a:
+ t_irlincor.x <error.h> <imhdr.h>
+ ;