You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
418 B
Makefile
17 lines
418 B
Makefile
7 months ago
|
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
|
||
|
|