Limine Bare Bones: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
[unchecked revision][unchecked revision]
No edit summary
mNo edit summary
Line 223:
override KERNEL := myos.elf
 
# Convenience macro to reliably declare overridableuser commandoverridable variables.
define DEFAULT_VAR =
ifeq ($(origin $1),default)
Line 242:
 
# User controllable CFLAGS.
CFLAGS$(eval ?=$(call DEFAULT_VAR,CFLAGS,-g -O2 -pipe -Wall -Wextra))
 
# User controllable preprocessor flags. We set none by default.
$(eval $(call DEFAULT_VAR,CPPFLAGS,))
CPPFLAGS ?=
 
# User controllable nasm flags.
NASMFLAGS$(eval ?=$(call DEFAULT_VAR,NASMFLAGS,-F dwarf -g))
 
# User controllable linker flags. We set none by default.
$(eval $(call DEFAULT_VAR,LDFLAGS,))
LDFLAGS ?=
 
# Internal C flags that should not be changed by the user.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu