summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-07-01Add a static tag to when linkingMaxime Coste
This fixes going from static to non-static linking by having different output files, the final symlink will point to the latest built config, as usual.
2025-03-25Bump build to c++23Maxime Coste
2024-10-19Require mandir to be create before installing the man pagesJohannes Nixdorf
Otherwise parallel installation may fail with: cp -f doc/kak.1 $(DESTDIR)/usr/share/man/man1 cp: cannot create regular file '$(DESTDIR)/usr/share/man/man1': No such file or directory
2024-07-27Pass libs after object files to linkerMaxime Coste
Fixes #5206
2024-05-12Fix tests for OpenBSDMaxime Coste
Using the diff provided by @krobelus on #5173 Close #5173
2024-05-09Fix release directory name and version file locationMaxime Coste
2024-03-31Fix MacOS shell expensions in MakefileMaxime Coste
2024-03-31Add redundant $(shell ...) in Makefile to fix builds on MacOSMaxime Coste
MacOS uses an old GNU make that does not support the != syntax. That syntax is not Posix (yet, it is accepted for next standard) but we really need a way to call the shell from a Makefile. Hopefully we can remove this soon (not holding my breath though) Fixes #5117
2024-03-23Re-change how compiler detection is doneMaxime Coste
Turns out GCC does not appear in many gcc version, go back to checking `g++` and assume `c++` means `g++` Fixes #5119
2024-03-22Fix Makefile dist file generationMaxime Coste
2024-03-21Make src/kak a .PHONY target to always set the symlinkMaxime Coste
This ensures `make debug=yes`, `make debug=no` always update the symlink even if the binary was already built.
2024-03-11Fix installation of doc pagesMaxime Coste
2024-03-09Fix gziping man page in MakefileMaxime Coste
2024-03-08Fix clang compilation by enabling sized deallocationsMaxime Coste
2024-03-05Re-enable debug symbols in release buildsMaxime Coste
2024-03-02Merge remote-tracking branch 'arrufat/fix-kakrc-install'Maxime Coste
2024-03-01Fix GCC detection in MakefileMaxime Coste
When called as `c++`, gcc will not output `g++` which breaks detection, it will have GCC in the output so look for that string instead.
2024-02-29More FreeBSD Make fixesMaxime Coste
2024-02-29fix install of kakrcAdriĆ  Arrufat
2024-02-29Try to fix FreeBSD make supportMaxime Coste
2024-02-29Rework Makefile compile type tag handlingMaxime Coste
Rename suffix to tag as it ends up not being the filename suffix, apply that tag to .o and .d files so that changing the build type does not wipe/reuse files from another build type. Make .d file hidden files, this does not seem possible for the .o files as they are targets and posix support inference rules when only the suffix changes. This is not a big issue as Kakoune ignores those files by default.
2024-02-27build: switch to POSIX makeSiva Mahadevan
2019-11-10Add a root directory Makefile that forwards to src/ oneMaxime Coste