aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-16 14:09:49 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-16 14:09:49 +0200
commit616f8ec6b5d51fed25a94cc251c246eaad693a8c (patch)
tree21b44ed04613801d7c6293ac63027c66341e9fb3 /Makefile
downloadlowbat-bsd-616f8ec6b5d51fed25a94cc251c246eaad693a8c.tar.gz
lowbat-bsd-616f8ec6b5d51fed25a94cc251c246eaad693a8c.tar.bz2
lowbat-bsd-616f8ec6b5d51fed25a94cc251c246eaad693a8c.tar.xz
lowbat-bsd-616f8ec6b5d51fed25a94cc251c246eaad693a8c.tar.zst
lowbat-bsd-616f8ec6b5d51fed25a94cc251c246eaad693a8c.zip
First commit
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}