...
This commit is contained in:
14
makefile
14
makefile
@@ -1,16 +1,16 @@
|
||||
CC = i686-elf-gcc
|
||||
LD = i686-elf-ld
|
||||
CC = x86_64-elf-gcc
|
||||
LD = x86_64-elf-ld
|
||||
AS = nasm
|
||||
|
||||
# Modify these settings here for defines and debug info
|
||||
CFLAGS = -g -D DEBUG
|
||||
LDFLAGS = -g
|
||||
ASFLAGS = -g -F dwarf
|
||||
CFLAGS =
|
||||
LDFLAGS =
|
||||
ASFLAGS =
|
||||
|
||||
# Do not modify
|
||||
CFLAGS += -m32 -ffreestanding -fno-stack-protector -nostdlib -nostdinc -Wall -Wextra -std=c23 -Isrc/shared
|
||||
CFLAGS += -m64 -ffreestanding -fno-stack-protector -nostdlib -nostdinc -Wall -Wextra -std=c23 -Isrc/shared
|
||||
LDFLAGS +=
|
||||
ASFLAGS += -f elf32
|
||||
ASFLAGS += -f elf64
|
||||
|
||||
SRC_C := $(shell find src -name '*.c')
|
||||
SRC_ASM := $(shell find src -name '*.asm')
|
||||
|
||||
Reference in New Issue
Block a user