21 lines
		
	
	
		
			463 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			463 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| CC=clang
 | |
| CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined"
 | |
| INCLUDES="\
 | |
| 	-Isrc \
 | |
| 	-Iintern/wizapp/aliases \
 | |
| 	-Iintern/wizapp/cpath/include \
 | |
| 	-Iintern/wizapp/dstr/include \
 | |
| 	$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
 | |
| "
 | |
| SRC="\
 | |
| 	./src/*.c \
 | |
| 	intern/wizapp/cpath/src/*.c \
 | |
| 	intern/wizapp/dstr/src/*.c \
 | |
| 	intern/wizapp/mem/src/*/*.c \
 | |
| "
 | |
| OUT=tiffread
 | |
| 
 | |
| ( set -x ; $CC $CFLAGS $INCLUDES $SRC -o $OUT )
 |