
all : test_a test_a_opt test_b test_b_opt

test_a : test_a.c
	gcc -o test_a test_a.c -W -Wall -O0

test_a_opt : test_a.c
	gcc -o test_a_opt test_a.c -W -Wall -O6 -fomit-frame-pointer

test_b : test_b.c
	gcc -o test_b test_b.c -W -Wall -O0

test_b_opt : test_b.c
	gcc -o test_b_opt test_b.c -W -Wall -O6 -fomit-frame-pointer

clean:
	rm -f test_a test_b test_a_opt test_b_opt
