Maxime Coste
84be263321
Re-change how compiler detection is done
...
Turns out GCC does not appear in many gcc version, go back to
checking `g++` and assume `c++` means `g++`
Fixes #5119
2024-03-23 21:09:27 +11:00
Maxime Coste
794e7ce51c
Fix Makefile dist file generation
2024-03-22 17:30:43 +11:00
Maxime Coste
c3856ad3d9
Make src/kak a .PHONY target to always set the symlink
...
This ensures `make debug=yes`, `make debug=no` always update the
symlink even if the binary was already built.
2024-03-21 18:06:43 +11:00
Maxime Coste
84fc2844a1
Fix installation of doc pages
2024-03-11 20:56:36 +11:00
Maxime Coste
2b9b74091d
Fix gziping man page in Makefile
2024-03-09 11:25:09 +11:00
Maxime Coste
d299a7059e
Fix clang compilation by enabling sized deallocations
2024-03-08 20:19:55 +11:00
Maxime Coste
685bce4321
Re-enable debug symbols in release builds
2024-03-05 22:18:37 +11:00
Maxime Coste
e9bd708327
Merge remote-tracking branch 'arrufat/fix-kakrc-install'
2024-03-02 15:08:37 +11:00
Maxime Coste
e38becb5a1
Fix GCC detection in Makefile
...
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-03-01 12:08:04 +11:00
Maxime Coste
504b074aa7
More FreeBSD Make fixes
2024-02-29 23:06:05 +11:00
Adrià Arrufat
64b3433905
fix install of kakrc
2024-02-29 20:49:50 +09:00
Maxime Coste
395dd8c73f
Try to fix FreeBSD make support
2024-02-29 21:05:45 +11:00
Maxime Coste
10b6b7eb71
Rework Makefile compile type tag handling
...
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-29 19:53:39 +11:00
Siva Mahadevan
b05295637e
build: switch to POSIX make
2024-02-27 17:31:58 -05:00
Maxime Coste
1713d1db7a
Add a root directory Makefile that forwards to src/ one
2019-11-10 11:14:56 +11:00