1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-22 19:27:43 +00:00

Allow overriding JANETCONF_HEADER in Makefile.

This allows a configuration workflow that is a bit simpler than before
and doesn't requiring applying patches. Instead, add a config.mk to
source dir with JANETCONF_HEADER=myconfig.h and compile as usual.

The patching workflow will of course still work exactly as before.
This commit is contained in:
Calvin Rose
2022-10-24 09:49:51 -05:00
parent 2f69cd4209
commit e731996a68
4 changed files with 14 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
project('janet', 'c',
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
version : '1.25.0')
version : '1.25.1')
# Global settings
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')