Updated splint rule
This commit is contained in:
parent
97cf726442
commit
e03726b9a8
13
Makefile
13
Makefile
@ -28,11 +28,14 @@ leaktest:
|
||||
valgrind --leak-check=full ./bp -l -g grammars/bp.bp -p Grammar grammars/bp.bp
|
||||
|
||||
splint:
|
||||
splint -posix-lib -standard -mustfreefresh -mustfreeonly -temptrans -immediatetrans -branchstate \
|
||||
-compmempass -nullret -nullpass -nullderef -kepttrans -boolops -initallelements -fullinitblock \
|
||||
-compdef -usereleased -unrecog -dependenttrans -predboolothers -ownedtrans -unqualifiedtrans \
|
||||
-onlytrans -usedef -nullassign -compdestroy -globstate -nullstate -statictrans -predboolint \
|
||||
$(CFILES) bp.c
|
||||
splint -posix-lib -weak -unrecog -initallelements -fullinitblock $(CFILES) bp.c
|
||||
|
||||
#splint:
|
||||
# splint -posix-lib -checks -mustfreefresh -mustfreeonly -temptrans -immediatetrans -branchstate \
|
||||
# -compmempass -nullret -nullpass -nullderef -kepttrans -boolops -initallelements -fullinitblock \
|
||||
# -compdef -usereleased -unrecog -dependenttrans -predboolothers -ownedtrans -unqualifiedtrans \
|
||||
# -onlytrans -usedef -nullassign -compdestroy -globstate -nullstate -statictrans -predboolint \
|
||||
# $(CFILES) bp.c
|
||||
|
||||
install: $(NAME)
|
||||
mkdir -p -m 755 "$(PREFIX)/share/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/xdg/$(NAME)"
|
||||
|
Loading…
Reference in New Issue
Block a user