summaryrefslogtreecommitdiffstats
path: root/config/prelude.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-162/+0
| | | | | | | | | | This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.
* config: Just use NOT to implement NORTavian Barnes2024-04-261-16/+0
|
* config: Move .c files into config/{use,has} subdirectoriesTavian Barnes2024-04-261-1/+9
|
* config: Add BFS_USE_LIB* to config.h instead of CPPFLAGSTavian Barnes2024-04-251-1/+1
|
* config: Check for posix_spawn_file_actions_addfchdir{,_np}()Tavian Barnes2024-04-191-1/+1
|
* config: Check for program_invocation_short_nameTavian Barnes2024-04-191-0/+3
| | | | | | This lets us pick it up on musl too, since there's no __MUSL__ macro. Link: https://wiki.musl-libc.org/faq#Q:-Why-is-there-no-%3Ccode%3E__MUSL__%3C/code%3E-macro?
* build: Directly generate version.cTavian Barnes2024-04-171-2/+2
|
* build: Dont include ${BUILDDIR} in short messagesTavian Barnes2024-04-171-0/+3
|
* build: Refactor configurationTavian Barnes2024-04-161-0/+164
We now use a recursive make invocation to do the work of `make config`. The new implementation is also compatible with GNU make 3.81 found on macOS.