Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- ## EPITECH PROJECT, 2018
- ## Makefile
- ## File description:
- ## Makefile_ASM
- ##
- NAME = libasm.so
- SRCS = strlen.s
- OBJS = $(SRCS:.s=.o)
- CC = ld -fPIC -shared -o
- ASM = nasm -f elf64 -o
- RM = rm -rf
- all: $(NAME)
- $(NAME): $(OBJS)
- $(CC) $(NAME) $(OBJS)
- %.o: %.s
- $(ASM) $(OBJS) $(SRCS)
- clean:
- $(RM) $(OBJS)
- fclean: clean
- $(RM) $(NAME)
- re: fclean all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement