Thu, 25 Jan 2024 22:01:12 +0100
add cx_array_add() + fix type of cx_array_default_reallocator
universe@753 | 1 | # Copyright 2023 Mike Becker. All rights reserved. |
universe@753 | 2 | # |
universe@753 | 3 | # Redistribution and use in source and binary forms, with or without |
universe@753 | 4 | # modification, are permitted provided that the following conditions are met: |
universe@753 | 5 | # |
universe@753 | 6 | # 1. Redistributions of source code must retain the above copyright |
universe@753 | 7 | # notice, this list of conditions and the following disclaimer. |
universe@753 | 8 | # |
universe@753 | 9 | # 2. Redistributions in binary form must reproduce the above copyright |
universe@753 | 10 | # notice, this list of conditions and the following disclaimer in the |
universe@753 | 11 | # documentation and/or other materials provided with the distribution. |
universe@753 | 12 | # |
universe@753 | 13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@753 | 14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@753 | 15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@753 | 16 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@753 | 17 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@753 | 18 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@753 | 19 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@753 | 20 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@753 | 21 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@753 | 22 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@753 | 23 | |
universe@779 | 24 | all: compile test-compile FORCE |
universe@753 | 25 | |
universe@791 | 26 | install: config.mk FORCE |
universe@754 | 27 | @cd src && $(MAKE) install |
universe@753 | 28 | |
universe@791 | 29 | dist: config.mk FORCE |
universe@791 | 30 | $(MAKE) -f make/makefile.mk dist |
universe@753 | 31 | |
universe@791 | 32 | clean: config.mk FORCE |
universe@791 | 33 | $(MAKE) -f make/makefile.mk clean |
universe@753 | 34 | |
universe@791 | 35 | dist-clean: config.mk FORCE |
universe@791 | 36 | $(MAKE) -f make/makefile.mk dist-clean |
universe@753 | 37 | |
universe@791 | 38 | compile: config.mk FORCE |
universe@791 | 39 | $(MAKE) -f make/makefile.mk compile |
universe@753 | 40 | |
universe@791 | 41 | test-compile: config.mk FORCE |
universe@791 | 42 | $(MAKE) -f make/makefile.mk test-compile |
universe@753 | 43 | |
universe@791 | 44 | check: config.mk FORCE |
universe@791 | 45 | $(MAKE) -f make/makefile.mk check |
universe@753 | 46 | |
universe@774 | 47 | check-coverage: FORCE |
universe@774 | 48 | $(MAKE) -s check |
universe@774 | 49 | @cd src && $(MAKE) check-coverage |
universe@774 | 50 | |
universe@791 | 51 | docs: config.mk FORCE |
universe@791 | 52 | $(MAKE) -f make/makefile.mk docs |
universe@753 | 53 | |
universe@791 | 54 | update-rules: config.mk FORCE |
universe@791 | 55 | $(MAKE) -f make/makefile.mk update-rules |
universe@753 | 56 | |
universe@791 | 57 | config.mk: |
universe@791 | 58 | ./configure --release |
universe@755 | 59 | |
universe@753 | 60 | FORCE: |