test before building

This commit is contained in:
Luca Conte 2024-05-15 13:53:45 +02:00
parent 8c302d28cf
commit 84e0a927f2
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ ALL_LIBS = $(GLEW_LIBS) $(GLFW_LIBS) $(OTHER_LIBS)
OBJ = matrixMath.o transformation.o wavefrontobj.o
SHADERS = fragmentShader.c vertexShader.c
cg1.out: main.o $(OBJ) $(SHADERS)
cg1.out: test.out main.o $(OBJ) $(SHADERS)
./test.out
gcc -o $@ main.o $(OBJ) $(ALL_LIBS)
test.out: test.o $(OBJ)