Update compile script to run the generators
This commit is contained in:
		
							
								
								
									
										8
									
								
								compile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								compile
									
									
									
									
									
								
							| @@ -6,4 +6,12 @@ CFLAGS="-g -Wall -Werror " | ||||
| XORSHIFT_SRC="xorshift.c ppm.c" | ||||
| XORSHIFT_OUT=xorshift | ||||
|  | ||||
| echo "Clean outputs dir..." | ||||
| rm -rf "./outputs/*" | ||||
|  | ||||
| echo -e "\nBuild xorshift generators..." | ||||
| (set -x ; $CC $CFLAGS $XORSHIFT_SRC -o $XORSHIFT_OUT) | ||||
|  | ||||
| echo -e "\nTest xorshift generators..." | ||||
| ./xorshift | ||||
| echo "Generated" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user