From 4fa8a129e6ecfa168604568673cfbdaa2c8e34b0 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 9 Feb 2020 14:31:57 +0100 Subject: Renamed minilibx --- minilibx/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 minilibx/Makefile (limited to 'minilibx/Makefile') diff --git a/minilibx/Makefile b/minilibx/Makefile new file mode 100644 index 0000000..2e44836 --- /dev/null +++ b/minilibx/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 -- cgit v1.2.3