You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
405 B
25 lines
405 B
2 years ago
|
#
|
||
|
#
|
||
|
|
||
|
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
|