add makefile

This commit is contained in:
Luca Conte 2025-03-09 22:14:49 +01:00
parent d315e30782
commit 0166975973
1 changed files with 5 additions and 0 deletions

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
GLEW_LIBS=$(pkgconf glew --libs)
GLFW_LIBS=$(pkgconf glfw3 --libs)
cg1: main.c
gcc -o cg1 src/main.c src/log.c src/shader.c $(GLEW_LIBS) $(GLFW_LIBS)