Limine Bare Bones: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
m Minor GNUmakefile fixes |
||
Line 191: | Line 191: | ||
-mno-sse2 \ |
-mno-sse2 \ |
||
-mno-red-zone \ |
-mno-red-zone \ |
||
-mcmodel=kernel |
-mcmodel=kernel |
||
⚫ | |||
override CPPFLAGS := \ |
|||
⚫ | |||
⚫ | |||
$(CPPFLAGS) \ |
|||
⚫ | |||
# Internal linker flags that should not be changed by the user. |
# Internal linker flags that should not be changed by the user. |
||
Line 232: | Line 235: | ||
# Compilation rules for *.c files. |
# Compilation rules for *.c files. |
||
%.o: %.c |
%.o: %.c |
||
$(CC) $( |
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ |
||
# Compilation rules for *.S files. |
# Compilation rules for *.S files. |
||
%.o: %.S |
%.o: %.S |
||
$(CC) $( |
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ |
||
# Compilation rules for *.asm (nasm) files. |
# Compilation rules for *.asm (nasm) files. |