aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c4a029..21ebf11 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/11/22 02:56:22 by cacharle #+# #+# #
-# Updated: 2019/11/22 03:02:47 by cacharle ### ########.fr #
+# Updated: 2019/11/22 03:58:18 by cacharle ### ########.fr #
# #
# **************************************************************************** #
@@ -15,7 +15,8 @@ NAME = libasm.a
CC = gcc
CCFLAGS = -masm=intel -m64
-ASMSRC = ft_strlen.s ft_strcpy.s ft_strcmp.s ft_write.s ft_read.s ft_strdup.s
+ASMSRC = ft_strlen.s ft_strcpy.s ft_strcmp.s ft_write.s ft_read.s ft_strdup.s \
+ ft_atoi_base.s
ASMOBJ = $(ASMSRC:.s=.o)
RM = rm -f
@@ -31,6 +32,7 @@ test: all
%.o: %.s
$(CC) $(CCFLAGS) -c -o $@ $<
+ @#nasm -f macho64 -o $@ $<
clean:
$(RM) $(ASMOBJ)