mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-23 02:01:06 +02:00 
			
		
		
		
	Merge pull request #11 from corpsmoderne/master
Add a quick and dirty makefile to build on linux
This commit is contained in:
		
							
								
								
									
										18
									
								
								examples/opengl_example/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								examples/opengl_example/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| # | ||||
| # Quick and dirty makefile to build on Linux | ||||
| # tested on Ubuntu 14.04.1 32bit | ||||
| # | ||||
|  | ||||
| SRC = main.cpp ../../imgui.cpp | ||||
|  | ||||
| OBJ = $(SRC:.cpp=.o) | ||||
|  | ||||
| CXXFLAGS = -I../../ `pkg-config --cflags glfw3` | ||||
|  | ||||
| LIBS = `pkg-config --static --libs glfw3` -lGLEW | ||||
|  | ||||
| all: $(OBJ) | ||||
| 	$(CXX) $(OBJ) $(LIBS) | ||||
|  | ||||
| clean: | ||||
| 	$(RM) -f $(OBJ) | ||||
		Reference in New Issue
	
	Block a user