aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/photcal/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/digiphot/photcal/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'noao/digiphot/photcal/mkpkg')
-rw-r--r--noao/digiphot/photcal/mkpkg38
1 files changed, 38 insertions, 0 deletions
diff --git a/noao/digiphot/photcal/mkpkg b/noao/digiphot/photcal/mkpkg
new file mode 100644
index 00000000..0f47b692
--- /dev/null
+++ b/noao/digiphot/photcal/mkpkg
@@ -0,0 +1,38 @@
+# Make the PHOTCAL package
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $set LIBS = "-lxtools -lnlfit"
+ $update libpkg.a
+ $omake x_photcal.x
+ $link x_photcal.o libpkg.a $(LIBS) -o xx_photcal.e
+ ;
+
+linkonly:
+ $set LIBS = "-lxtools -lnlfit"
+ $link x_photcal.o libpkg.a $(LIBS) -o xx_photcal.e
+ $call install
+ ;
+
+install:
+ $move xx_photcal.e noaobin$x_photcal.e
+ ;
+
+libpkg.a:
+ @evaluate
+ @fitparams
+ @io
+ @mctable
+ @mkcatalog
+ @mkconfig
+ @mkimsets
+ @mkobsfile
+ @parser
+ ;