mirror of
				https://github.com/theoludwig/libcproject.git
				synced 2025-05-21 23:21:15 +02:00 
			
		
		
		
	chore: improve Makefile to use -fsanitize=address -fsanitize=undefined gcc flags
Fixes #5
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| LIBRARY_NAME = libcproject | ||||
| CC = gcc | ||||
| CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 -I./ | ||||
| CC_FLAGS = -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 -fsanitize=address -fsanitize=undefined -I./ | ||||
| LIB = ./build/${LIBRARY_NAME}.a | ||||
| LIB_CC_FLAGS = -L. -l:${LIB} | ||||
| LIB_SOURCES = $(wildcard lib/*.c) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user