Add util to makefile
This commit is contained in:
		
							parent
							
								
									f5a84fd4d0
								
							
						
					
					
						commit
						650d9dfd05
					
				
							
								
								
									
										12
									
								
								makefile
								
								
								
								
							
							
						
						
									
										12
									
								
								makefile
								
								
								
								
							|  | @ -10,6 +10,7 @@ help: | |||
| 	@echo "Available make targets:" | ||||
| 	@echo "  clean   Remove output files" | ||||
| 	@echo "  core    Check the C core source for compiler warnings" | ||||
| 	@echo "  util    Check the C utility source for compiler warnings" | ||||
| 	@echo "  wasm    Build the WebAssembly module" | ||||
| 	@echo | ||||
| 
 | ||||
|  | @ -47,6 +48,17 @@ util: | |||
| #	GCC generic
 | ||||
| 	@gcc util/vbu.c -I core -I util -c -o /dev/null -O3 \
 | ||||
|         -Werror -std=c90 -Wall -Wextra -Wpedantic -fno-strict-aliasing | ||||
| #	GCC compilation control
 | ||||
| 	@gcc util/vbu.c -I core -I util -c -o /dev/null -O3 \
 | ||||
|         -Werror -std=c90 -Wall -Wextra -Wpedantic -fno-strict-aliasing \
 | ||||
|         -D VB_SIGNED_PROPAGATE -D VBU_REALLOC=testRealloc | ||||
| #	Clang generic
 | ||||
| 	@emcc util/vbu.c -I core -I util -c -o /dev/null -O3 \
 | ||||
|         -Werror -std=c90 -Wall -Wextra -Wpedantic -fno-strict-aliasing | ||||
| #	Clang compilation control
 | ||||
| 	@emcc util/vbu.c -I core -I util -c -o /dev/null -O3 \
 | ||||
|         -Werror -std=c90 -Wall -Wextra -Wpedantic -fno-strict-aliasing \
 | ||||
|         -D VB_SIGNED_PROPAGATE -D VBU_REALLOC=testRealloc | ||||
| 
 | ||||
| .PHONY: wasm | ||||
| wasm: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue