aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--asm/jo_r_cpyhead.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 03b41ad..4a0d34d 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ A_SRCS += ${A_SRCS_DIR}/jo_f_percent.asm
# -------------------------------------------------------------------------------------- #
A_OBJS = ${A_SRCS:.asm=.o}
# ===================================== COMPILER ======================================= #
-CC = clang
+${CC} = clang
# -------------------------------------------------------------------------------------- #
CFLAGS += -std=c89
CFLAGS += -Wall
diff --git a/asm/jo_r_cpyhead.asm b/asm/jo_r_cpyhead.asm
index 8070e0b..35cdcb2 100644
--- a/asm/jo_r_cpyhead.asm
+++ b/asm/jo_r_cpyhead.asm
@@ -28,7 +28,7 @@ jo_r_cpyhead: ; jo_r_cpyhead(percent: rdi)
xor rax, rax
mov al, 0x1
push rdi
- cal sprintf
+ call sprintf
pop rdi
mov rax, rdi
retq