From 8a8fab0c68d867d1e1e870252819d15e2b6d0c6f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 14 May 2024 16:32:10 -0400 Subject: initial commit --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..838da7e --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CXXFLAGS := -std=c++23 -O3 -ggdb -g3 -march=native -mtune=native `sdl2-config --cflags` -Iimgui -Iimgui/backends +LDFLAGS := `sdl2-config --libs` + +all: main + +main: imgui/imgui.o imgui/imgui_draw.o imgui/imgui_widgets.o imgui/imgui_tables.o imgui/backends/imgui_impl_sdl2.o imgui/backends/imgui_impl_sdlrenderer2.o + +image.ppm: main + time ./main > image.ppm + +clean: + rm -f main image.ppm + +view: image.ppm + feh image.ppm + -- cgit v1.2.3