]> Untitled Git - axy/ft/ft_printf.git/commitdiff
Updated makefile
authorAxy <gilliardmarthey.axel@gmail.com>
Thu, 30 Oct 2025 11:04:11 +0000 (12:04 +0100)
committerAxy <gilliardmarthey.axel@gmail.com>
Thu, 30 Oct 2025 11:04:11 +0000 (12:04 +0100)
Makefile

index 4711819664e05770c15fd6b37d8c3c2058629b91..87e2b67fee96ef73409af0b19c8c8491c21c8786 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 NAME=libftprintf.a
 
-SRCS=
+SRCS=ft_printf.c
 
 OBJS=${SRCS:.c=.o}
 
@@ -11,7 +11,7 @@ CC=cc
 all : ${NAME}
 
 %.o : %.c
-       ${CC} ${CFLAGS} -c -o $@ -- $<
+       ${CC} ${CFLAGS} -c -o $@ $<
 
 ${NAME} : ${OBJS}
        ar -rcs $@ $^