tweak makefile a bit
This commit is contained in:
		
							parent
							
								
									5075fb8ad8
								
							
						
					
					
						commit
						eed97e91ba
					
				
							
								
								
									
										17
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								makefile
									
									
									
									
									
								
							| 
						 | 
					@ -1,8 +1,17 @@
 | 
				
			||||||
build: 
 | 
					CC=gcc
 | 
				
			||||||
	gcc pomo.c -o pomo
 | 
					SRC=pomo.c
 | 
				
			||||||
 | 
					OUT=pomo
 | 
				
			||||||
 | 
					STYLE_BLUEPRINT=webkit
 | 
				
			||||||
 | 
					FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build: $(SRC)
 | 
				
			||||||
 | 
						$(CC) $(SRC) -o $(OUT)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install:
 | 
					install:
 | 
				
			||||||
	cp ./pomo /bin/pomo
 | 
						cp ./$(OUT) /bin/pomo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
lint:
 | 
					lint:
 | 
				
			||||||
	clang-tidy pomo.c --
 | 
						clang-tidy $(SRC) --
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					format: 
 | 
				
			||||||
 | 
						$(FORMATTER) $(SRC)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user