blob: 92d1631e098a4a73e87652b59bf058f1a693dcd7 (
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
# ============================================ RULES ============================================= #
all:
${CC}
|