Files
MacroLibX/README.md
2023-04-01 17:51:29 +02:00

617 B

MacroLibX

A rewrite of School 42's MiniLibX using SDL2 and Vulkan. The goal of this version is to give a light, fast and modern graphical tool while keeping the same API as the version currently used at 42.

Installation

Linux

  1. Necessary packages :

For Ubuntu/Debian

~ sudo apt update
~ sudo apt install libsdl2-2.0-0 libsdl2-dev build-essential

For Arch based distros

~ sudo pacman -S sdl2
  1. Get MacroLibX
~ git clone https://github.com/420verfl0w/MacroLibX.git
~ cd MacroLibX
~ make
  1. Compile your project
clang myApp.c MacroLibX/libmlx.so -lSDL2