fix makefile

This commit is contained in:
Luca Conte 2025-03-09 22:19:46 +01:00
parent 0166975973
commit d39fde8b05
1 changed files with 4 additions and 4 deletions

View File

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