Add libraries in compile script
This commit is contained in:
		
							
								
								
									
										5
									
								
								compile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								compile
									
									
									
									
									
								
							| @@ -9,6 +9,9 @@ INCLUDES="\ | ||||
| 	-Iintern/wizapp/dstr/include \ | ||||
| 	$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \ | ||||
| " | ||||
| LIBS="\ | ||||
| 	-lm \ | ||||
| " | ||||
| SRC="\ | ||||
| 	./src/*.c \ | ||||
| 	intern/wizapp/cpath/src/*.c \ | ||||
| @@ -17,4 +20,4 @@ SRC="\ | ||||
| " | ||||
| OUT=tiffread | ||||
|  | ||||
| ( set -x ; $CC $CFLAGS $INCLUDES $SRC -o $OUT ) | ||||
| ( set -x ; $CC $CFLAGS $INCLUDES $LIBS $SRC -o $OUT ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user