mirror of
				https://git.haproxy.org/git/haproxy.git/
				synced 2025-10-31 08:30:59 +01:00 
			
		
		
		
	The $(Q), $(V), $(cmd_xx) handling needs to be reused in sub-project makefiles and it's a pain to maintain inside the main makefile. Let's just move that into a new subdir include/make/ with a dedicated file "verbose.mk". It slightly cleans up the makefile in addition.
		
			
				
	
	
		
			14 lines
		
	
	
		
			220 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			220 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| include ../../include/make/verbose.mk
 | |
| 
 | |
| CC       = gcc
 | |
| OPTIMIZE = -O2 -g
 | |
| DEFINE   =
 | |
| INCLUDE  =
 | |
| OBJS     = tcploop
 | |
| 
 | |
| tcploop: tcploop.c
 | |
| 	$(cmd_CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
 | |
| 
 | |
| clean:
 | |
| 	rm -f $(OBJS) *.[oas] *~
 |