Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.08 KB

Raylib-Buildfiles

A simple Makefile that you can include in your Raylib projects to easily build or clean your project. Simple and clear directions:

  1. Ensure you have compiled raylib and generated the libraylib.a static file. Need to do this? I have created a YouTube video guide that will show you how step by step.
  2. Modify the paths in the Makefile to point to your source file(s), and the directory that contains raylib.h and libraylib.a.
  3. make to build your program.
  4. make clean to clean the executable and any objects if they exist.

Example project structure:

|───(Project Root)
  |─── main.c
  ├───include
    └───raylib.h
  ├───lib
    └───libraylib.a

Any questions? Feel free to contact me

All credit to @raysan5 for his awesome C game library. Check out https://www.raylib.com/ !