solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit 3fb134dbaadc7b1383b18a162f00063562c958a5
parent e0b71f32f83ad10e061b4edc245dac9bced498ff
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 17 Apr 2026 16:19:33 +0200

Remove the make.sh file that is obsolete

Diffstat:
Dmake.sh | 78------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 78 deletions(-)

diff --git a/make.sh b/make.sh @@ -1,78 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2016-2018 CNRS, 2018-2026 |Meso|Star> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -set -e - -config_test() -{ - for i in "$@"; do - test=$(basename "${i}" ".c") - test_list="${test_list} ${test}" - printf "%s: %s\n" "${test}" "src/${test}.o" - done - printf "test_bin: %s\n" "${test_list}" -} - -check() -{ - name="$1" - prog="$2" - shift 2 - - printf "%s " "${name}" - if PATH=./:"${PATH}" "${prog}" "$@" > /dev/null 2>&1; then - printf "\033[1;32mOK\033[m\n" - else - printf "\033[1;31mError\033[m\n" - fi 2> /dev/null -} - -run_test() -{ - for i in "$@"; do - prog="$(basename "${i}" ".c")" - check "${prog}" "${prog}" - done -} - -clean_test() -{ - for i in "$@"; do - rm -f "$(basename "${i}" ".c")" - done -} - -install() -{ - prefix=$1 - shift 1 - - mkdir -p "${prefix}" - - for i in "$@"; do - dst="${prefix}/${i##*/}" - - if cmp -s "${i}" "${dst}"; then - printf "Up to date %s\n" "${dst}" - else - printf "Installing %s\n" "${dst}" - cp "${i}" "${prefix}" - fi - done -} - -"$@"