Use astyle to format source code properly
这个提交包含在:
		
							
								
								
									
										28
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								Makefile
									
									
									
									
									
								
							@@ -18,12 +18,40 @@ OBJ =\
 | 
				
			|||||||
	vfs.o \
 | 
						vfs.o \
 | 
				
			||||||
	vm.o
 | 
						vm.o
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ASTYLE_FLAGS =\
 | 
				
			||||||
 | 
						--style=java \
 | 
				
			||||||
 | 
						--indent=force-tab \
 | 
				
			||||||
 | 
						--attach-closing-while \
 | 
				
			||||||
 | 
						--attach-inlines \
 | 
				
			||||||
 | 
						--attach-classes \
 | 
				
			||||||
 | 
						--indent-classes \
 | 
				
			||||||
 | 
						--indent-modifiers \
 | 
				
			||||||
 | 
						--indent-switches \
 | 
				
			||||||
 | 
						--indent-cases \
 | 
				
			||||||
 | 
						--indent-preproc-block \
 | 
				
			||||||
 | 
						--indent-preproc-define \
 | 
				
			||||||
 | 
						--indent-col1-comments \
 | 
				
			||||||
 | 
						--pad-oper \
 | 
				
			||||||
 | 
						--pad-comma \
 | 
				
			||||||
 | 
						--unpad-paren \
 | 
				
			||||||
 | 
						--delete-empty-lines \
 | 
				
			||||||
 | 
						--align-pointer=name \
 | 
				
			||||||
 | 
						--align-reference=name \
 | 
				
			||||||
 | 
						--break-one-line-headers \
 | 
				
			||||||
 | 
						--add-braces \
 | 
				
			||||||
 | 
						--verbose \
 | 
				
			||||||
 | 
						--formatted \
 | 
				
			||||||
 | 
						--lineend=linux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all: main
 | 
					all: main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean:
 | 
					clean:
 | 
				
			||||||
	rm -f *.o ph7
 | 
						rm -f *.o ph7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					style:
 | 
				
			||||||
 | 
						astyle $(ASTYLE_FLAGS) --recursive ./*.c,*.h
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main: $(OBJ)
 | 
					main: $(OBJ)
 | 
				
			||||||
	$(CC) $(OBJ) $(LIBS) -o ph7
 | 
						$(CC) $(OBJ) $(LIBS) -o ph7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		在新工单中引用
	
	屏蔽一个用户