source: git/standalone.test/mk @ 39d022e

spielwiese
Last change on this file since 39d022e was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100755
File size: 1.1 KB
Line 
1#! /bin/sh
2
3
4#############################################################################################################
5# !!!!!!!!!!!!!!!!! Please put a copy of the installed '$PREFIX/bin/libpolys-config' here !!!!!!!!!!!!!!!!!!!
6#############################################################################################################
7
8
9
10# NAME="tt"
11NAME="test"
12
13P="."
14# /mnt/DATA/GITHUB/w/GAP/libsing/spielwiese/TARGET/bin"
15
16LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Winline -Wall -Wno-long-long  -O0 -fno-exceptions"
17LIBPOLYSLIBS=`sh $P/libsingular-config --libsg`
18LIBPOLYSPREFIX="`sh $P/libsingular-config --prefix`"
19
20echo "Using libpolys from: '$LIBPOLYSPREFIX'"
21echo "Using        CFLAGS: '$LIBPOLYSCFLAGS'"
22echo "Using          LIBS: '$LIBPOLYSLIBS'"
23
24CMD="g++ $LIBPOLYSCFLAGS -c $NAME.cc "
25echo "executing '$CMD':"
26$CMD
27# -rdynamic
28CMD="g++ -static -g -Wextra -Winline -Wall -Wno-long-long -O0 -fno-exceptions $NAME.o -o $NAME $LIBPOLYSLIBS"
29echo "executing '$CMD':"
30$CMD
31
32SINGULARPATH="$LIBPOLYSPREFIX/share/gftables:$LIBPOLYSPREFIX/bin" SINGULAR_ROOT_DIR="$LIBPOLYSPREFIX" ./$NAME
Note: See TracBrowser for help on using the repository browser.