summaryrefslogtreecommitdiff
path: root/test/Makefile
blob: 3bdbc6892fa46a2c18fef452fed52581f9e82724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
MAKEFLAGS += -s

all: 7ed-TESTING
7ed-TESTING:
	cd .. && make tests
	echo "Done."

clean: 
	cd .. && make clean
	rm -f vcpm
	echo "rm -f vcpm"
	rm -f vcimm
	echo "rm -f vcpm"
	rm -f vpct
	echo "rm -f vcpm"
	echo "Cleaned."

smode:
	echo "CC input.c ---> smode"
	cd .. && gcc -Wfatal-errors -Wall -Werror -Wextra -g -fsanitize=address input.c i_validation.c -o test/smode

alltests:
	cd .. && make tests
	gcc validate_check_p_m.c ../i_validation.c -o vcpm
	echo "CC ---> vcpm" 
	gcc validate_check_imm.c ../i_validation.c -o vcimm
	echo "CC ---> vcimm" 
	gcc validate_plus_continue_tests.c ../i_validation.c -o vpct
	echo "CC ---> vpct"