diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-15 16:19:44 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-15 16:19:44 +0200 |
commit | 46687fa2cef63e99a0ded077d88c3b19b20cc1ca (patch) | |
tree | 020590d4319b4bd0217cdf97750f3a8338d3069e /minilibx-bsd/test/Makefile.mk | |
parent | Added line to gitignore (diff) | |
download | 42-cub3d-46687fa2cef63e99a0ded077d88c3b19b20cc1ca.tar.gz 42-cub3d-46687fa2cef63e99a0ded077d88c3b19b20cc1ca.tar.bz2 42-cub3d-46687fa2cef63e99a0ded077d88c3b19b20cc1ca.tar.xz 42-cub3d-46687fa2cef63e99a0ded077d88c3b19b20cc1ca.tar.zst 42-cub3d-46687fa2cef63e99a0ded077d88c3b19b20cc1ca.zip |
Now BSD compliant
Diffstat (limited to '')
-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 |