blob: 73e8950aa4be9caaf48d2d5e2d2c7a74b4ca38ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# vim: set ft=make:ts=4:sw=4:nowrap
ARCH := x86_64
ABI := elf
TARGET := $(ARCH)-$(ABI)
CC := clang
CXX := clang++
AS := clang
LD := ld.bfd
OBJCOPY := objcopy
CFLAGS += -ffreestanding -mno-red-zone -ggdb -std=c2x \
-Wall -Wextra -Werror -fno-stack-protector \
-Wpedantic -std=c2x
CXXFLAGS += -ffreestanding -mno-red-zone -ggdb \
-Wall -Wextra -Werror -fno-stack-protector
LDFLAGS += -nostdlib
|