Fri, 22 Sep 2023 23:26:23 +0200
replace autoconf with uwproj
universe@68 | 1 | # Copyright 2018 Mike Becker. All rights reserved. |
universe@68 | 2 | # |
universe@68 | 3 | # Redistribution and use in source and binary forms, with or without |
universe@68 | 4 | # modification, are permitted provided that the following conditions are met: |
universe@68 | 5 | # |
universe@68 | 6 | # 1. Redistributions of source code must retain the above copyright |
universe@68 | 7 | # notice, this list of conditions and the following disclaimer. |
universe@68 | 8 | # |
universe@68 | 9 | # 2. Redistributions in binary form must reproduce the above copyright |
universe@68 | 10 | # notice, this list of conditions and the following disclaimer in the |
universe@68 | 11 | # documentation and/or other materials provided with the distribution. |
universe@68 | 12 | # |
universe@68 | 13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@68 | 14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@68 | 15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@68 | 16 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@68 | 17 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@68 | 18 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@68 | 19 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@68 | 20 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@68 | 21 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@68 | 22 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@68 | 23 | |
universe@68 | 24 | TEST_SCRIPTS = \ |
universe@68 | 25 | codeonly.force \ |
universe@68 | 26 | codeonly_chars.force \ |
universe@68 | 27 | nocomments.force \ |
universe@68 | 28 | total.force \ |
universe@68 | 29 | total_chars.force |
universe@68 | 30 | |
universe@68 | 31 | all: $(TEST_SCRIPTS) |
universe@68 | 32 | echo "Tests successful." |
universe@68 | 33 | |
universe@68 | 34 | %.force: %.sh |
universe@68 | 35 | ./$< |