mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-03 01:06:33 +01:00 
			
		
		
		
	Use $(MAKE) instead of make in Makefiles
This will pass the correct flags to the make invocations.
This commit is contained in:
		
							parent
							
								
									b3d78bd5f6
								
							
						
					
					
						commit
						a273f91cc3
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										4
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -133,10 +133,10 @@ tidy:
 | 
			
		|||
 | 
			
		||||
clean:
 | 
			
		||||
	rm -f $(OUT)/libhardened_malloc.so $(OBJECTS)
 | 
			
		||||
	make -C test/ clean
 | 
			
		||||
	$(MAKE) -C test/ clean
 | 
			
		||||
 | 
			
		||||
test: $(OUT)/libhardened_malloc$(SUFFIX).so
 | 
			
		||||
	make -C test/
 | 
			
		||||
	$(MAKE) -C test/
 | 
			
		||||
	python3 -m unittest discover --start-directory test/
 | 
			
		||||
 | 
			
		||||
.PHONY: check clean tidy test
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,8 +23,8 @@ EXECUTABLES := \
 | 
			
		|||
    large_array_growth
 | 
			
		||||
 | 
			
		||||
all: $(EXECUTABLES)
 | 
			
		||||
	make -C simple-memory-corruption
 | 
			
		||||
	$(MAKE) -C simple-memory-corruption
 | 
			
		||||
 | 
			
		||||
clean:
 | 
			
		||||
	rm -f $(EXECUTABLES)
 | 
			
		||||
	make -C simple-memory-corruption clean
 | 
			
		||||
	$(MAKE) -C simple-memory-corruption clean
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue