cleanup includes

Mon, 01 Apr 2024 19:44:00 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 01 Apr 2024 19:44:00 +0200
changeset 49
77493525eac2
parent 48
6e5b5ba2752c
child 50
d8d2e4817db1

cleanup includes

src/Makefile file | annotate | diff | comparison | revisions
src/context.c file | annotate | diff | comparison | revisions
src/scene.c file | annotate | diff | comparison | revisions
--- a/src/Makefile	Mon Apr 01 19:01:04 2024 +0200
+++ b/src/Makefile	Mon Apr 01 19:44:00 2024 +0200
@@ -49,8 +49,7 @@
  ascension/datatypes.h ascension/window.h ascension/glcontext.h \
  ascension/primitives.h ascension/mesh.h ascension/shader.h \
  ascension/scene.h ascension/transform.h ascension/camera.h \
- ascension/ui/font.h ascension/error.h ascension/utils.h \
- ascension/shader.h
+ ascension/ui/font.h ascension/error.h ascension/utils.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -89,10 +88,10 @@
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \
- ascension/transform.h ascension/camera.h ascension/error.h \
- ascension/context.h ascension/window.h ascension/glcontext.h \
- ascension/primitives.h ascension/mesh.h ascension/shader.h \
- ascension/scene.h ascension/ui/font.h ascension/shader.h
+ ascension/transform.h ascension/camera.h ascension/context.h \
+ ascension/window.h ascension/glcontext.h ascension/primitives.h \
+ ascension/mesh.h ascension/shader.h ascension/scene.h \
+ ascension/ui/font.h ascension/shader.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
--- a/src/context.c	Mon Apr 01 19:01:04 2024 +0200
+++ b/src/context.c	Mon Apr 01 19:44:00 2024 +0200
@@ -28,7 +28,6 @@
 #include "ascension/context.h"
 #include "ascension/error.h"
 #include "ascension/utils.h"
-#include "ascension/shader.h"
 
 #include <SDL2/SDL.h>
 #include <SDL2/SDL_ttf.h>
--- a/src/scene.c	Mon Apr 01 19:01:04 2024 +0200
+++ b/src/scene.c	Mon Apr 01 19:44:00 2024 +0200
@@ -26,7 +26,6 @@
  */
 
 #include "ascension/scene.h"
-#include "ascension/error.h"
 
 #include "ascension/context.h"
 

mercurial