mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2025-01-01 03:25:52 +01:00
18 lines
514 B
Makefile
18 lines
514 B
Makefile
# define which architecture you're targeting
|
|
ARCH = x86_64
|
|
# define your target file here
|
|
TARGET = helloworld.efi
|
|
#define your sources here
|
|
SRCS = $(wildcard *.c)
|
|
# define your default compiler flags
|
|
CFLAGS = -pedantic -Wall -Wextra -Werror --ansi -O2
|
|
# define your default linker flags
|
|
#LDFLAGS =
|
|
# define your additional libraries here
|
|
#LIBS = -lm
|
|
|
|
# leave the hard work and all the rest to posix-uefi
|
|
|
|
# set this if you want GNU gcc + ld + objcopy instead of LLVM Clang + Lld
|
|
#USE_GCC = 1
|
|
include uefi/Makefile
|