.PHONY: boolops bool boolenum break bstring decl enumbool extension modarray nestext offestof sizeofarray rex struct

SPLINT = splint

all: boolops bool boolenum break bstring decl enumbool extension modarray nestext offestof sizeofarray rex struct

boolops:
	$(SPLINT) boolops.c -expect 1

bool:
	-$(SPLINT) bool.lcl booldef.c -expect 1

boolenum:
	$(SPLINT) boolenum.c -booltype BOOLEAN -booltrue TRUE -boolfalse FALSE -expect 1 

break:
	$(SPLINT) break.c -expect 1

bstring:
	$(SPLINT) bstring.c -expect 2 

decl:
	$(SPLINT) decl.c -expect 1 

enumbool:
	$(SPLINT) enumbool.c -booltrue true -boolfalse false 
#	Herbert: TODO

	-$(SPLINT) enumbool.c -booltrue TRUE -boolfalse FALSE -expect 2 

extension:
	$(SPLINT) extension.c
#	Herbert: TODO

	-$(SPLINT) -gnuextensions extension.c 

modarray:
	$(SPLINT) modarray.c

nestext:
	$(SPLINT) nestext.c -expect 1

offsetof:
	$(SPLINT) offsetof.c

sizeofarray:
	$(SPLINT) sizeofarray.c -expect 3 

rex:
	$(SPLINT) rex.c -expect 4
### 3 new errors reported


struct:
	$(SPLINT) struct.c -expect 1


syntax highlighted by Code2HTML, v. 0.9.1