Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.49 KB | None | 0 0
  1. # $(libflags) $(args) $(append_this)
  2. # -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--print-gc-sections
  3. args = -std=c++17 -Wunused-function
  4. # libflags = -lsfml-graphics -lsfml-window -lsfml-system
  5. libflags = -lglfw3
  6. compiler = g++
  7. # append_this = $(libflags) $(args)
  8. includes = -Iglm -Iglad/include/ -Istuff/ -I/usr/include/freetype2/ -I/usr/include/bullet/
  9.  
  10. # glad/src/glad.c
  11.  
  12.  
  13.  
  14. precomp:
  15.     $(compiler) -c pch.h $(includes) $(args)
  16.  
  17. main: precomp
  18.     $(compiler) main.cc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement