]> git.lizzy.rs Git - shadowclad.git/blobdiff - Makefile
Add frametime & fps metering
[shadowclad.git] / Makefile
index a296fac521c9f6c7ae72a86b354b46903753f550..0490851c3b93f52a7cb2adf1293e8f537298f2dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ libraries ::= -L/usr/local/lib -lGL -lglut -lassimp
 # Prefix all object file names with the compilation directory
 objects ::= $(addprefix out/, \
               main.o debugutil.o glut_janitor.o render.o \
-              tga.o level.o)
+              tga.o level.o performance.o)
 
 # Set executable extension for the platform
 ifeq ($(OS),Windows_NT)
@@ -56,3 +56,6 @@ out/tga.o : tga.c tga.h | out
 
 out/level.o : level.c level.h tga.h | out
        $(CC) $(compileargs) -c -o out/level.o level.c
+
+out/performance.o : performance.c | out
+       $(CC) $(compileargs) -c -o out/performance.o performance.c