diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-17 19:30:15 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-17 19:30:15 +0100 |
commit | 3c0434921d80dd99c5afd6272f7aa2d2705218a9 (patch) | |
tree | 99154197b71a5c1cde279b6c6cd6050f9264250d /minilibx_opengl_20191021/Makefile | |
parent | First commit (diff) | |
download | 42-cub3d-3c0434921d80dd99c5afd6272f7aa2d2705218a9.tar.gz 42-cub3d-3c0434921d80dd99c5afd6272f7aa2d2705218a9.tar.bz2 42-cub3d-3c0434921d80dd99c5afd6272f7aa2d2705218a9.tar.xz 42-cub3d-3c0434921d80dd99c5afd6272f7aa2d2705218a9.tar.zst 42-cub3d-3c0434921d80dd99c5afd6272f7aa2d2705218a9.zip |
Added minilibX
Diffstat (limited to 'minilibx_opengl_20191021/Makefile')
-rw-r--r-- | minilibx_opengl_20191021/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/minilibx_opengl_20191021/Makefile b/minilibx_opengl_20191021/Makefile new file mode 100644 index 0000000..2e44836 --- /dev/null +++ b/minilibx_opengl_20191021/Makefile @@ -0,0 +1,24 @@ +# +# + +NOM=libmlx.a +SRC= mlx_shaders.c mlx_new_window.m mlx_init_loop.m mlx_new_image.m mlx_xpm.c mlx_int_str_to_wordtab.c +SRC+= mlx_png.c mlx_mouse.m +OBJ1=$(SRC:.c=.o) +OBJ=$(OBJ1:.m=.o) +CFLAGS+=-O2 + +# add to match string put with X11 in size and position +CFLAGS+= -DSTRINGPUTX11 + +all: $(NOM) + +$(NOM): $(OBJ) + ar -r $(NOM) $(OBJ) + ranlib $(NOM) + +clean: + rm -f $(NOM) $(OBJ) *~ + rm -f mlx_app + +re: clean all |