diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-02-17 14:25:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 14:25:46 -0500 |
commit | d3d581aa966ee45923e901e3102c2bf350549571 (patch) | |
tree | fee3c8874f18cb1b14cf0e773d34b013ec6beb14 /fitsverify/build.sh | |
parent | e58d5954f5b35c5bd45d673428c5b410f4e2dc77 (diff) | |
download | astroconda-contrib-d3d581aa966ee45923e901e3102c2bf350549571.tar.gz |
Initial commit of fitsverify (#173)
Diffstat (limited to 'fitsverify/build.sh')
-rw-r--r-- | fitsverify/build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fitsverify/build.sh b/fitsverify/build.sh new file mode 100644 index 0000000..2fb5cce --- /dev/null +++ b/fitsverify/build.sh @@ -0,0 +1,15 @@ +export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig +RESULT=fitsverify +SRCS="ftverify.c fvrf_data.c fvrf_file.c fvrf_head.c fvrf_key.c fvrf_misc.c" +CFITSIO_FLAGS=`pkg-config --cflags --libs cfitsio` +LDFLAGS="-lm" + +gcc -o $RESULT \ + $SRCS \ + -DSTANDALONE \ + $CFITSIO_FLAGS \ + $LDFLAGS + +mkdir -p $PREFIX/bin +cp -a $RESULT $PREFIX/bin + |