summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2022-03-27Release 2.52.5Tavian Barnes
2022-03-25Update from C99 to C11Tavian Barnes
This is necessary for standard anonymous structs/unions.
2022-03-12Don't shadow standard headersTavian Barnes
@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
2022-03-11Makefile: Disable onig-config for the 32-bit distcheck buildTavian Barnes
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.
2022-03-11Makefile: Enable time64Tavian Barnes
2022-03-09Makefile: Add lsan and tsan flag targetsTavian Barnes
2022-02-28Makefile: Make separate variables for Oniguruma flagsTavian Barnes
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).
2022-02-24Release 2.4.12.4.1Tavian Barnes
2022-02-24Makefile: Automatically discover the right flags to build with OnigurumaTavian Barnes
Fixes #82.
2022-02-22Release 2.42.4Tavian Barnes
2022-02-21Use EXTRA_CFLAGS instead of CFLAGS in make distcheckTavian Barnes
2022-02-21Enable Oniguruma by defaultTavian Barnes
2022-02-09Makefile: Allow extra flags to be passed with EXTRA_*FLAGS variablesTavian Barnes
2022-02-04regex: Add support for emacs and grep typesTavian Barnes
2022-02-01tests: Allow tests.sh to be invoked from any directoryTavian Barnes
This also resolves the path passed to --bfs early, so --bfs=./bfs now works.
2022-01-29Standardize WITH_* make variables for configuring dependenciesTavian Barnes
2022-01-24Apply suggestions from code reviewdata-man
2022-01-24Using Oniguruma library (optionally)data-man
2022-01-21Release 2.3.12.3.1Tavian Barnes
2021-11-25Release 2.3Tavian Barnes
2021-06-02Release 2.2.12.2.1Tavian Barnes
2021-06-02Enable -Wimplicit-fallthroughTavian Barnes
2021-03-06Release 2.22.2Tavian Barnes
2021-03-06Support -flags on all the BSDsTavian Barnes
2021-02-05Update copyright datesTavian Barnes
2021-01-29Makefile: Give LTO linking access to the jobserverTavian Barnes
2021-01-28dir: New DIR* facadeTavian Barnes
2021-01-28Enable -Wshadow by defaultTavian Barnes
And fix the one case it warns on.
2021-01-24Makefile: Install completionsTavian Barnes
2020-12-19Makefile: Fix behaviour if .flags doesn't exist yetTavian Barnes
2020-12-16Makefile: Clean up check dependencies a bitTavian Barnes
2020-12-16Makefile: Avoid rebuilding everything for make release main.oTavian Barnes
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.
2020-12-10Makefile: Rebuild whenever the build flags changeTavian Barnes
This removes the need to do make clean before rebuilding with a new build type.
2020-11-30Makefile: Clean up flag handling a bitTavian Barnes
2020-11-30Makefile: Only do -m32 during distcheck on x86_64Tavian Barnes
Multilib isn't well-supported outside of x86.
2020-11-28Makefile: Run tests with --verbose during distcheckTavian Barnes
2020-11-11Release 2.12.1Tavian Barnes
2020-11-10Makefile: New gcov targetTavian Barnes
2020-11-04Enable -Wsign-compare to catch bugs like 726d7801Tavian Barnes
2020-11-03Makefile: Fail early on sanitizer errorsTavian Barnes
2020-11-03bar: Implement terminal status barsTavian Barnes
2020-10-14Release 2.02.0Tavian Barnes
2020-09-27Rename struct cmdline to bfs_ctxTavian Barnes
The API remains similar, with some added accessor functions for lazy initialization of the pwcache and mtab.
2020-06-16Implement exponential deepening searchTavian Barnes
2020-06-09tests/trie: New acceptance test for triesTavian Barnes
2020-06-09tests: New acceptance test for xtimegm()Tavian Barnes
2020-05-22Makefile: Pass -fsanitize-memory-track-origins for msan buildsTavian Barnes
2020-04-22Release 1.71.7Tavian Barnes
2020-04-22pwcache: Rename from passwd.[ch]Tavian Barnes
2020-03-24Makefile: Don't use target-specific variables for configuration targetsTavian Barnes
In things like release: CFLAGS := ... release: bfs CFLAGS is only set for the dependencies of release, so $ make release check doesn't set CFLAGS for tests/mksock. For the same reason, $ make asan ubsan was broken, because only the asan flags would be set for bfs. Fix it by checking MAKECMDGOALS for those targets manually instead.