create Makefile to compile a .so
This commit is contained in:
22
srcs/includes/malloc.h
Normal file
22
srcs/includes/malloc.h
Normal file
@ -0,0 +1,22 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* malloc.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/26 16:38:01 by tomoron #+# #+# */
|
||||
/* Updated: 2024/11/26 16:41:22 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef MALLOC_H
|
||||
# define MALLOC_H
|
||||
|
||||
# ifndef DEBUG
|
||||
# define DEBUG 1
|
||||
# endif
|
||||
|
||||
void *malloc(size_t size)
|
||||
|
||||
#endif
|
15
srcs/malloc.c
Normal file
15
srcs/malloc.c
Normal file
@ -0,0 +1,15 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* malloc.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/23 17:19:59 by tomoron #+# #+# */
|
||||
/* Updated: 2024/11/26 16:42:53 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
void *malloc(size_t size)
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user