aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
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}