init repo with gitignore makefile readme minilibx and libft submodule
This commit is contained in:
24
libs/minilibx-linux-master/test/Makefile.mk
Normal file
24
libs/minilibx-linux-master/test/Makefile.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
INC=%%%%
|
||||
|
||||
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