diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-16 14:09:49 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-16 14:09:49 +0200 |
commit | 616f8ec6b5d51fed25a94cc251c246eaad693a8c (patch) | |
tree | 21b44ed04613801d7c6293ac63027c66341e9fb3 /Makefile | |
download | lowbat-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-- | Makefile | 25 |
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} |