summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Put the main .o files under build/srcTavian Barnes2022-04-211-35/+31
|
* Makefile: Generate build/FLAGS.new with its own targetTavian Barnes2022-04-211-4/+7
|
* Makefile: Replace flags.sh with a two-line recipeTavian Barnes2022-04-191-1/+2
|
* Makefile: Move .flags to build/FLAGSTavian Barnes2022-04-191-6/+6
|
* Makefile: Quiet errors from git describeTavian Barnes2022-04-191-3/+5
| | | | | | | | | | | | | | | | With new git versions, it is an error to invoke git inside a repository owned by someone else. This manifested as $ sudo make install fatal: unsafe repository ('/home/tavianator/code/bfs' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/tavianator/code/bfs Work around it with `2>/dev/null`. This should also help if git is not installed, but .git/ still exists. Link: https://github.blog/2022-04-12-git-security-vulnerability-announced/
* Makefile: Spread out the .PHONY targetsTavian Barnes2022-04-181-2/+9
|
* Makefile: Use a recipe to update .flags rather than $(shell)Tavian Barnes2022-04-181-8/+4
| | | | | | | | | This means we don't need to generate .flags unless we're actually building a target that needs it, which is important for thing like $ sudo make install that used to inconveniently create a root-owned .flags file.
* tests: Also put build outputs under build/Tavian Barnes2022-04-161-11/+11
|
* Keep Build Files In `build` (#89)トトも2022-04-161-29/+32
|
* Source / Include Folder (#88)トトも2022-04-161-1/+4
| | | Moved Source Files Into `src` Folder
* Release 2.52.5Tavian Barnes2022-03-271-1/+1
|
* Update from C99 to C11Tavian Barnes2022-03-251-1/+1
| | | | This is necessary for standard anonymous structs/unions.
* Don't shadow standard headersTavian Barnes2022-03-121-5/+5
| | | | | | | | | | | | | @italic on the AUR stated that bfs from the AUR fails to build on Manjaro. From the build log, it seems like <time.h> doesn't get included properly. I assume it's picking up ./time.h instead. I couldn't reproduce the build issue in the default configuration, but it does fail with EXTRA_CFLAGS="-I." which isn't good. So rename everything with an x prefix to stop clashing. Link: https://aur.archlinux.org/packages/bfs#comment-856102 Link: https://paste.rs/eqR
* Makefile: Disable onig-config for the 32-bit distcheck buildTavian Barnes2022-03-111-2/+2
| | | | | | | | | | | onig-config can redundantly add -L/usr/lib to LDLIBS, which results in a few warnings like /usr/bin/ld: skipping incompatible /usr/lib/libonig.so when searching for -lonig While I'm at it, explicitly restrict the -m32 build to Linux, since it doesn't work on FreeBSD and was only skipped because uname -m is amd64, not x86_64.
* Makefile: Enable time64Tavian Barnes2022-03-111-0/+1
|
* Makefile: Add lsan and tsan flag targetsTavian Barnes2022-03-091-1/+13
|
* Makefile: Make separate variables for Oniguruma flagsTavian Barnes2022-02-281-3/+6
| | | | | | This allows customizing the necessary flags if onig-config isn't available or is undesirable (e.g. when linking against a non-system build of libonig).
* Release 2.4.12.4.1Tavian Barnes2022-02-241-1/+1
|
* Makefile: Automatically discover the right flags to build with OnigurumaTavian Barnes2022-02-241-4/+11
| | | | Fixes #82.
* Release 2.42.4Tavian Barnes2022-02-221-1/+1
|
* Use EXTRA_CFLAGS instead of CFLAGS in make distcheckTavian Barnes2022-02-211-1/+1
|
* Enable Oniguruma by defaultTavian Barnes2022-02-211-5/+9
|
* Makefile: Allow extra flags to be passed with EXTRA_*FLAGS variablesTavian Barnes2022-02-091-4/+4
|
* regex: Add support for emacs and grep typesTavian Barnes2022-02-041-0/+1
|
* tests: Allow tests.sh to be invoked from any directoryTavian Barnes2022-02-011-1/+1
| | | | | This also resolves the path passed to --bfs early, so --bfs=./bfs now works.
* Standardize WITH_* make variables for configuring dependenciesTavian Barnes2022-01-291-19/+40
|
* Apply suggestions from code reviewdata-man2022-01-241-10/+5
|
* Using Oniguruma library (optionally)data-man2022-01-241-0/+10
|
* Release 2.3.12.3.1Tavian Barnes2022-01-211-1/+1
|
* Release 2.3Tavian Barnes2021-11-251-1/+1
|
* Release 2.2.12.2.1Tavian Barnes2021-06-021-1/+1
|
* Enable -Wimplicit-fallthroughTavian Barnes2021-06-021-1/+8
|
* Release 2.22.2Tavian Barnes2021-03-061-1/+1
|
* Support -flags on all the BSDsTavian Barnes2021-03-061-0/+4
|
* Update copyright datesTavian Barnes2021-02-051-1/+1
|
* Makefile: Give LTO linking access to the jobserverTavian Barnes2021-01-291-1/+1
|
* dir: New DIR* facadeTavian Barnes2021-01-281-0/+1
|
* Enable -Wshadow by defaultTavian Barnes2021-01-281-1/+1
| | | | And fix the one case it warns on.
* Makefile: Install completionsTavian Barnes2021-01-241-1/+4
|
* Makefile: Fix behaviour if .flags doesn't exist yetTavian Barnes2020-12-191-1/+7
|
* Makefile: Clean up check dependencies a bitTavian Barnes2020-12-161-8/+12
|
* Makefile: Avoid rebuilding everything for make release main.oTavian Barnes2020-12-161-20/+25
| | | | | | To do this we need to only add the release: default dependency if no non-flag goals are specified on the command line. While I'm at it, simplify and coalesce a few recipes.
* Makefile: Rebuild whenever the build flags changeTavian Barnes2020-12-101-1/+5
| | | | | This removes the need to do make clean before rebuilding with a new build type.
* Makefile: Clean up flag handling a bitTavian Barnes2020-11-301-4/+4
|
* Makefile: Only do -m32 during distcheck on x86_64Tavian Barnes2020-11-301-0/+6
| | | | Multilib isn't well-supported outside of x86.
* Makefile: Run tests with --verbose during distcheckTavian Barnes2020-11-281-1/+3
|
* Release 2.12.1Tavian Barnes2020-11-111-1/+1
|
* Makefile: New gcov targetTavian Barnes2020-11-101-1/+7
|
* Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes2020-11-041-1/+1
|
* Makefile: Fail early on sanitizer errorsTavian Barnes2020-11-031-0/+8
|