debut du projet
This commit is contained in:
26
minilibx-linux-master/test/Makefile.gen
Normal file
26
minilibx-linux-master/test/Makefile.gen
Normal 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
|
||||
Reference in New Issue
Block a user