Untitled

 avatar
unknown
plain_text
2 years ago
435 B
3
Indexable
##
## EPITECH PROJECT, 2023
## Makefile
## File description:
## Gautier BONHUR - Assembler
##

CC = gcc
CFLAGS = -fPIC -Wall -Wextra -Werror

SRC = strlen.asm memcpy.asm
OBJ = $(SRC:.asm=.o)

all:	$(OBJ)
	$(CC) -shared -o libasm.so $(OBJ)

%.o: %.asm
	nasm -f elf64 -o $@ $<

re: fclean all

clean:
	rm -f $(OBJ)

fclean: clean
	rm -f *.so
	rm -f *.o

re:	$(NAME)

.PHONY: fclean tests_run clean re make
Editor is loading...