From 9b431298d0346ce2a181771e9cc78b83c97737f1 Mon Sep 17 00:00:00 2001
From: Rudy Bousset <rbousset@z2r4p3.le-101.fr>
Date: Thu, 23 Jan 2020 15:40:55 +0100
Subject: Renamed minilibx to mlx

---
 libmlx/Makefile | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 libmlx/Makefile

(limited to 'libmlx/Makefile')

diff --git a/libmlx/Makefile b/libmlx/Makefile
new file mode 100644
index 0000000..2e44836
--- /dev/null
+++ b/libmlx/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