diff --git a/Makefile b/Makefile index 883285e..29ce0b7 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ CXX = clang++ EXE = logmeow IMGUI_DIR = imgui -SOURCES = main.cpp fonts.cpp log.cpp config.cpp event_loop.cpp +SOURCES = $(wildcard *.cpp) SOURCES += $(IMGUI_DIR)/imgui.cpp $(IMGUI_DIR)/imgui_demo.cpp $(IMGUI_DIR)/imgui_draw.cpp $(IMGUI_DIR)/imgui_tables.cpp $(IMGUI_DIR)/imgui_widgets.cpp SOURCES += $(IMGUI_DIR)/misc/cpp/imgui_stdlib.cpp $(IMGUI_DIR)/backends/imgui_impl_sdl.cpp $(IMGUI_DIR)/backends/imgui_impl_opengl3.cpp OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))