summaryrefslogtreecommitdiffstats
path: root/config/config.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-291-63/+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: Add BFS_USE_LIB* to config.h instead of CPPFLAGSTavian Barnes2024-04-251-19/+4
|
* config: Check for program_invocation_short_nameTavian Barnes2024-04-191-1/+10
| | | | | | 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?
* config: Remove unused ${ARCH} variableTavian Barnes2024-04-191-1/+0
|
* config: Delete gen/objs.mkTavian Barnes2024-04-171-10/+0
| | | | | Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us.
* build: Directly generate version.cTavian Barnes2024-04-171-5/+7
|
* build: Dont include ${BUILDDIR} in short messagesTavian Barnes2024-04-171-3/+3
|
* build: Properly export PKG_CONFIGTavian Barnes2024-04-171-0/+1
|
* build: Refactor configurationTavian Barnes2024-04-161-0/+77
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.