summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
...
* Release 2.62.6Tavian Barnes2022-05-211-1/+1
|
* Makefile: Add a BUILDDIR variable for out-of-tree buildsTavian Barnes2022-05-201-51/+55
| | | | bfs can now be built from a read-only source tree.
* Makefile: Split build into bin and obj directoriesTavian Barnes2022-05-161-54/+52
| | | | | This also moves the main binary from ./bfs to ./bin/bfs, and ./tests.sh to ./tests/tests.sh, with the goal of keeping the repository root clean.
* tests: Buffer standard error, and print it when tests failTavian Barnes2022-05-131-2/+2
|
* tests: Add --verbose={commands,errors,skipped,tests} optionsTavian Barnes2022-05-131-1/+1
|
* tests: Use skip_if for sudo testsTavian Barnes2022-05-121-4/+3
| | | | | | This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo
* Makefile: Look for .d files in the right placesTavian Barnes2022-05-111-1/+1
| | | | Fixes: f2cb2215213c0d831a697b0b440f78d9ad5c2b83
* Makefile: New check-install targetTavian Barnes2022-05-091-0/+8
|
* docs: Move some documentation into a subfolderTavian Barnes2022-04-211-1/+1
|
* Add basic zsh completionArvid Norlander2022-04-211-0/+3
| | | | Fixes #32.
* 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
|