Automatically locate cpp files
This commit is contained in:
		
							parent
							
								
									3cc2c379e4
								
							
						
					
					
						commit
						85b0d7b8d4
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								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))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue