1.1 --- a/src/Makefile Mon Dec 18 13:04:04 2023 +0100 1.2 +++ b/src/Makefile Mon Dec 18 19:04:44 2023 +0100 1.3 @@ -27,7 +27,8 @@ 1.4 1.5 BUILD_DIR=../build/lib 1.6 1.7 -SRC = context.c error.c window.c files.c shader.c font.c text.c primitives.c 1.8 +SRC = context.c error.c window.c files.c shader.c font.c text.c scene.c \ 1.9 + primitives.c 1.10 1.11 OBJ = $(SRC:%.c=$(BUILD_DIR)/%.o) 1.12 1.13 @@ -70,6 +71,10 @@ 1.14 @echo "Compiling $<" 1.15 $(CC) -o $@ $(CFLAGS) -c $< 1.16 1.17 +$(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/error.h 1.18 + @echo "Compiling $<" 1.19 + $(CC) -o $@ $(CFLAGS) -c $< 1.20 + 1.21 $(BUILD_DIR)/shader.o: shader.c ascension/shader.h ascension/files.h \ 1.22 ascension/error.h 1.23 @echo "Compiling $<"