Skip to content

braticpetar/glina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glina

Summary

Glina is an OpenGL build system for Linux. It is used as a starting point while following the learnopengl.com tutorials. It is based off of "Writing a build system under Linux" article, but with few adjustments to handle issues with GLAD:

  • Added AC_PROG_CC in configure.ac -> makes C compiler available to compile glad.c
  • Enabled subdir-objects in Makefile.am -> so it can support source files that are in subdirectories
  • Corrected the myprogram_SOURCES paths -> specifies glad.c and main.cpp paths
  • Added myprogram_CPPFLAGS -> added -Iinclude flag

Usage

  1. Clone the repo
git clone https://github.com/braticpetar/glina.git
cd glina
  1. Build as described in the initial article
autoreconf -i
./configure
make
  1. This will generate a myprogram executable which you can run with
./myprogram

About

OpenGL build system for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages