diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/digiphot/ptools/mkpkg | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'noao/digiphot/ptools/mkpkg')
-rw-r--r-- | noao/digiphot/ptools/mkpkg | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noao/digiphot/ptools/mkpkg b/noao/digiphot/ptools/mkpkg new file mode 100644 index 00000000..b8a75eaa --- /dev/null +++ b/noao/digiphot/ptools/mkpkg @@ -0,0 +1,38 @@ +# PTOOLSX libraries + +$call relink +$exit + +update: + $call relink + $call install + ; + +relink: + $omake x_ptools.x + !mkpkg -p noao trelink XF="$(XFLAGS)" LF="$(LFLAGS)" + ; + +linkonly: + !mkpkg -p noao trelink XF="$(XFLAGS)" LF="$(LFLAGS)" + $call install + ; + +install: + $move xx_ptools.e noaobin$x_ptools.e + ; + +trelink: + $set LIBS = "-lds -lncar -lgks -lxtools -ltbtables" + $set XFLAGS = "$(XFLAGS) $(XF)" + $set LFLAGS = "$(LFLAGS) $(LF)" + $update libpkg.a + $link x_ptools.o libpkg.a ../lib/libpttables.a $(LIBS) -o xx_ptools.e + ; + +libpkg.a: + @pconvert + @pexamine + @ptutils + @txtools + ; |