diff options
| author | Cabergs Charles <cacharle@e-r5-p7.s19.be> | 2019-10-09 17:00:48 +0200 |
|---|---|---|
| committer | Cabergs Charles <cacharle@e-r5-p7.s19.be> | 2019-10-09 17:00:48 +0200 |
| commit | 84409d8d3fa8bd9bae28b3523aa6d0c0b3a68406 (patch) | |
| tree | a41cbc8c6a3a4f52309dea94a0fdf3c688804124 /Makefile | |
| parent | 840957aee277e7c426647cc133b2a41e7cecd9a9 (diff) | |
| download | libft-84409d8d3fa8bd9bae28b3523aa6d0c0b3a68406.tar.gz libft-84409d8d3fa8bd9bae28b3523aa6d0c0b3a68406.tar.bz2 libft-84409d8d3fa8bd9bae28b3523aa6d0c0b3a68406.zip | |
Small update
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -6,11 +6,11 @@ # By: cacharle <marvin@42.fr> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2019/10/08 15:45:53 by cacharle #+# #+# # -# Updated: 2019/10/09 08:56:04 by cacharle ### ########.fr # +# Updated: 2019/10/09 15:48:10 by cacharle ### ########.fr # # # # **************************************************************************** # -LIB = ar rc +LIB = ar rcs RM = rm -f CC = gcc @@ -47,12 +47,14 @@ bonus: $(OBJ) $(BONUSOBJ) $(INCLUDE) $(BONUSINCLUDE) $(CC) $(CCFLAGS) -c -o $@ $< clean: - rm -f $(OBJ) $(BONUSOBJ) + $(RM) $(OBJ) $(BONUSOBJ) fclean: clean - rm -f $(NAME) + $(RM) $(NAME) re: fclean all -so: $(OBJ) libft.h - $(CC) -shared -fPIC -Wl,-soname,libft.so -o libft.so $(OBJ) +rebonus: fclean bonus + +so: $(OBJ) $(BONUSOBJ) $(INCLUDE) + $(CC) -shared -fPIC -Wl,-soname,libft.so -o libft.so $(OBJ) $(BONUSOBJ) |
