diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2024-05-14 19:58:40 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2024-05-14 19:58:40 -0400 |
commit | 7d174816febeed6977a7e90be5c80e9b99b11df9 (patch) | |
tree | 12b41ae02f03bf5bcaef84690f0a8824d71c7183 /Makefile | |
parent | af1740bde341ef7703696cb7fd26d66cd8a37462 (diff) |
many changes, more controls
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,9 +1,10 @@ CXXFLAGS := -std=c++23 -O3 -ggdb -g3 -march=native -mtune=native `sdl2-config --cflags` -Iimgui -Iimgui/backends -LDFLAGS := `sdl2-config --libs` +LDFLAGS := `sdl2-config --libs` -lSDL2_image 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 +main: main.cpp 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 + g++ $(CXXFLAGS) $^ $(LDFLAGS) -o main image.ppm: main time ./main > image.ppm |