From 616f8ec6b5d51fed25a94cc251c246eaad693a8c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 16 Apr 2020 14:09:49 +0200 Subject: First commit --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..22f8d13 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +default: all + + +# ============================================ DIRS ============================================== # +SRCS_DIR = src/ +OBJS_DIR = obj/ +ASRCS_DIR = asm/ +AOBJS_DIR = asmobj/ +# =========================================== FILES ============================================== # + +# ========================================== COMPILER ============================================ # +CC = clang +CFLAGS = -std=c89 +CFLAGS += -Wall +CFLAGS += -Wextra +CFLAGS += -Werror +CFLAGS += -pedantic +# CFLAGS += -O2 -pipe +# ========================================== ASSEMBLER =========================================== # +ASM = nasm +ASMFLAGS = -f +ASMARCH = elf64_fbsd + +all: + ${CC} -- cgit v1.2.3