Skip to content

naviisml/c-minilibx-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Minilibx Boilerplate

This is a C Boilerplate for my future C projects on Codam using Minilibx. This boilerplate allows me to start projects swiftly with a pre-made template.

Features

  • Texture Utilities
  • Color Utilities
  • Events Bind a event to a specific key

Requirements

  • gcc
  • make
  • MacOS Dependencies:
    • OpenGL
  • Linux Dependencies:
    • X11 include files (package xorg)
    • XShm extension must be present (package libxext-dev)
    • Utility functions from BSD systems - development files (package libbsd-dev)

Installation

MacOS

Step 1. Install this repository

git clone https://github.com/naviisml/c-minilibx-boilerplate.git

Step 2. Add the submodules

git submodule init
git submodule update

Debian/Ubuntu

Step 1. Installing the dependencies

sudo apt-get install gcc make xorg libxext-dev libbsd-dev

Step 2. Install this repository

git clone https://github.com/naviisml/c-minilibx-boilerplate.git

Step 3. Add the submodules

git submodule init
git submodule update

Usage

MacOS

make all

Debian/Ubuntu

make all -f Makefile.linux
Made with tons of ☕ and ❤️ by Navi

About

A simple C boilerplate, with Minilibx for both MacOS and Linux

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Generated from naviisml/c-boilerplate