aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-19 23:25:06 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-19 23:25:06 +0100
commitc5697e42a76142c339806e1c0bc7ed15e3ace548 (patch)
treea8201bde9a3a1c4e6cf956348e5d3f7fc873221f /Makefile
parent5b8a65b15a37d9c1c97fb39db93f1b40db628d70 (diff)
downloadengine-c5697e42a76142c339806e1c0bc7ed15e3ace548.tar.gz
started switching to autotools
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0de5723..0000000
--- a/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-EXE=main
-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
-CC_ARGS=$(COMMON_ARGS)
-LD_ARGS=$(COMMON_ARGS) -lncurses -lSDL2
-
-.PHONY: clean
-
-$(EXE): $(OBJECT_FILES)
- $(LD) -o $@ $^ $(LD_ARGS)
-
-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
- $(CC) -o $@ -c $< $(CC_ARGS)
-
-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)
-
-vertex_data.o: vertex_data.cpp vertex_data.h
- $(CC) -o $@ -c $< $(CC_ARGS)
-
-vertex.o: vertex.cpp vertex.h math_vector.h vertex_data.h
- $(CC) -o $@ -c $< $(CC_ARGS)
-
-tri_vertex.o: tri_vertex.cpp tri_vertex.h math_vector.h vertex_data.h vertex.h
- $(CC) -o $@ -c $< $(CC_ARGS)
-
-clean:
- rm -f $(EXE) $(OBJECT_FILES)