debut du projet

This commit is contained in:
hugogogo
2021-07-18 14:38:40 +02:00
parent ea12f03a01
commit 59e2fdde4a
100 changed files with 8325 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
INC=/usr/include
HT=Linux
DOCP=do_cp
INCLIB=$(INC)/../lib
CC=gcc
CFLAGS= -I$(INC) -O3 -I..
NAME= mlx-test
SRC = main.c
OBJ = $(SRC:.c=.o)
all :$(NAME)
$(NAME) :$(OBJ)
$(CC) -o $(NAME) $(OBJ) -L.. -lmlx -L$(INCLIB) -lXext -lX11 -lm -lbsd
clean :
rm -f $(NAME) $(OBJ) *~ core *.core
re : clean all