aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 22f8d13c7a6d2ccacb7f2a6f7e47da1caaac32f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}