diff options
Diffstat (limited to 'minilibx-bsd/test/Makefile.mk')
-rw-r--r-- | minilibx-bsd/test/Makefile.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/minilibx-bsd/test/Makefile.mk b/minilibx-bsd/test/Makefile.mk new file mode 100644 index 0000000..af3e60e --- /dev/null +++ b/minilibx-bsd/test/Makefile.mk @@ -0,0 +1,24 @@ + + +INC=%%%% + +INCLIB=$(INC)/../lib + +CC=clang + +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 + +clean : + rm -f $(NAME) $(OBJ) *~ core *.core + + +re : clean all |