Compare commits
	
		
			2 Commits
		
	
	
		
			82698525c9
			...
			61a30b8713
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						61a30b8713
	
				 | 
					
					
						|||
| 
						
						
							
						
						7f2a84a496
	
				 | 
					
					
						
							
								
								
									
										27
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								Makefile
									
									
									
									
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
DEBUG_DIR=build/Debug
 | 
			
		||||
BIN_DEBUG_DIR=bin/Debug
 | 
			
		||||
RELEASE_DIR=build/Release
 | 
			
		||||
BIN_RELEASE_DIR=bin/Release
 | 
			
		||||
#INCLUDE_PATH="-I/path/to/arbitrary/src"
 | 
			
		||||
#LIB_PATH="-L/path/to/library/include"
 | 
			
		||||
#LINKER_FLAGS=-lGL
 | 
			
		||||
 | 
			
		||||
debug:
 | 
			
		||||
	#g++ -std=c++14 -Wall -fPIC -pg -g $(INCLUDE_PATH) $(LIB_PATH) -c src/Main.cpp -o $(DEBUG_DIR)/Main.o
 | 
			
		||||
	#g++ -o $(BIN_DEBUG_DIR)/ratatoskr-messenger-server $(DEBUG_DIR)/Main.o $(LINKER_FLAGS)
 | 
			
		||||
	gcc -ansi -std=c99 -Wall -fPIC -pg -c src/Main.c -o $(DEBUG_DIR)/Main.o
 | 
			
		||||
	gcc -o $(BIN_DEBUG_DIR)/ratatoskr-messenger-server $(DEBUG_DIR)/Main.o 
 | 
			
		||||
 | 
			
		||||
release:
 | 
			
		||||
	#g++ -std=c++14 -Wall -fPIC -O2 $(INCLUDE_PATH) $(LIB_PATH) -c src/Main.cpp -o $(RELEASE_DIR)/Main.o
 | 
			
		||||
	#g++ -o $(BIN_RELEASE_DIR)/ratatoskr-messenger-server $(RELEASE_DIR)/Main.o -s $(LINKER_FLAGS)
 | 
			
		||||
	gcc -ansi -std=c99 -Wall -fPIC -O2 -c src/Main.c -o $(RELEASE_DIR)/Main.o
 | 
			
		||||
	gcc -o $(BIN_RELEASE_DIR)/ratatoskr-messenger-server $(RELEASE_DIR)/Main.o 
 | 
			
		||||
 | 
			
		||||
.PHONY: clean
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	rm -rf $(DEBUG_DIR)/*
 | 
			
		||||
	rm -rf $(BIN_DEBUG_DIR)/*
 | 
			
		||||
	rm -rf $(RELEASE_DIR)/*
 | 
			
		||||
	rm -rf $(BIN_RELEASE_DIR)/*
 | 
			
		||||
							
								
								
									
										2
									
								
								bin/Debug/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								bin/Debug/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
*
 | 
			
		||||
!.gitignore
 | 
			
		||||
							
								
								
									
										2
									
								
								bin/Release/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								bin/Release/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
*
 | 
			
		||||
!.gitignore
 | 
			
		||||
							
								
								
									
										2
									
								
								build/Debug/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								build/Debug/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
*
 | 
			
		||||
!.gitignore
 | 
			
		||||
							
								
								
									
										2
									
								
								build/Release/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								build/Release/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
*
 | 
			
		||||
!.gitignore
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/**
 | 
			
		||||
 * src/main.c
 | 
			
		||||
 * src/Main.c
 | 
			
		||||
 *
 | 
			
		||||
 * The main entrypoint for the program.
 | 
			
		||||
 */
 | 
			
		||||
		Reference in New Issue
	
	Block a user