diff options
author | vimene <vincent.menegaux@gmail.com> | 2023-11-19 07:11:23 +0100 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2023-11-19 07:11:23 +0100 |
commit | 5b8a65b15a37d9c1c97fb39db93f1b40db628d70 (patch) | |
tree | 15c34cb32631b6fdd85dd5d5aa734f919e4bad1b /Makefile | |
parent | 47280c41d7bee4964dbd2779de81b8c9bf6133c1 (diff) | |
download | engine-5b8a65b15a37d9c1c97fb39db93f1b40db628d70.tar.gz |
improved pixel window rendering
Pixel window rendering is now at the same state as the character rendering.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ EXE=main -OBJECT_FILES=main.o math_vector.o chfb.o obj3d.o vertex_data.o vertex.o tri_vertex.o +OBJECT_FILES=main.o math_vector.o chfb.o pixfb.o obj3d.o vertex_data.o vertex.o tri_vertex.o CC=g++ LD=g++ COMMON_ARGS=-Wall -Wextra @@ -11,7 +11,7 @@ LD_ARGS=$(COMMON_ARGS) -lncurses -lSDL2 $(EXE): $(OBJECT_FILES) $(LD) -o $@ $^ $(LD_ARGS) -main.o: main.cpp chfb.h obj3d.h math_vector.h vertex_data.h vertex.h tri_vertex.h +main.o: main.cpp chfb.h pixfb.h obj3d.h math_vector.h vertex_data.h vertex.h tri_vertex.h $(CC) -o $@ -c $< $(CC_ARGS) math_vector.o: math_vector.cpp math_vector.h @@ -20,6 +20,9 @@ math_vector.o: math_vector.cpp math_vector.h chfb.o: chfb.cpp chfb.h math_vector.h vertex_data.h vertex.h tri_vertex.h $(CC) -o $@ -c $< $(CC_ARGS) +pixfb.o: pixfb.cpp pixfb.h math_vector.h vertex_data.h vertex.h tri_vertex.h + $(CC) -o $@ -c $< $(CC_ARGS) + obj3d.o: obj3d.cpp obj3d.h math_vector.h vertex_data.h vertex.h tri_vertex.h $(CC) -o $@ -c $< $(CC_ARGS) |