Start on the rasteriser implementation

This commit is contained in:
2024-06-22 17:16:07 +01:00
parent 8fc3a2577a
commit fc79cb1906
3 changed files with 23 additions and 3 deletions

View File

@@ -11,9 +11,18 @@ RAYTRACER_SRC="src/window/*.c \
src/math/*.c \
"
RASTERISER_SRC="src/window/*.c \
src/vector/*.c \
src/scene/*.c \
src/rasteriser/*.c \
src/math/*.c \
"
BUILD=build_dir
RAYTRACER_OUT="$BUILD/raytracer"
RASTERISER_OUT="$BUILD/rasteriser"
mkdir -p $BUILD
(set -x ; $CC $CFLAGS $LIBS $RAYTRACER_SRC -o $RAYTRACER_OUT)
(set -x ; $CC $CFLAGS $LIBS $RASTERISER_SRC -o $RASTERISER_OUT)