Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # $(libflags) $(args) $(append_this)
- # -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--print-gc-sections
- args = -std=c++17 -Wunused-function
- # libflags = -lsfml-graphics -lsfml-window -lsfml-system
- libflags = -lglfw3
- compiler = g++
- # append_this = $(libflags) $(args)
- includes = -Iglm -Iglad/include/ -Istuff/ -I/usr/include/freetype2/ -I/usr/include/bullet/
- # glad/src/glad.c
- precomp:
- $(compiler) -c pch.h $(includes) $(args)
- main: precomp
- $(compiler) main.cc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement