save: for windows

This commit is contained in:
mcolonna 2024-04-23 01:21:48 +02:00
parent 16b7e329ff
commit 56c7f42390
77 changed files with 5986 additions and 7262 deletions

View file

@ -1,22 +1,24 @@
##
## Makefile for MiniLibX in /home/boulon/work/c/raytraceur/minilibx
##
## Made by Olivier Crouzet
## Login <ol@epitech.net>
##
## Started on Tue Oct 5 15:56:43 2004 Olivier Crouzet
## Last update Tue May 15 15:44:41 2007 Olivier Crouzet
##
#
#
## Please use configure script
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 : do_configure
all: $(NOM)
do_configure :
./configure
$(NOM): $(OBJ)
ar -r $(NOM) $(OBJ)
ranlib $(NOM)
clean :
./configure clean
clean:
rm -f $(NOM) $(OBJ) *~
rm -f mlx_app
re : clean all
re: clean all