Commit 5d9d091f authored by nimrod's avatar nimrod
Browse files

- Various improvements to the Makefile (test command, clean without errors).

parent 55bdb1c4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -7,7 +7,10 @@ c: prime.c
	gcc --std=c99 -Wall -lm prime.c

clean:
	rm -r a.out __pycache__
	- rm -fr a.out __pycache__

test:
	echo 'Not yet implemented.'
	@ time -f "%C : %E seconds" ./a.out 100000 > /dev/null
	@ time -f "%C : %E seconds"  ./prime.py 100000 > /dev/null
	@ time -f "%C : %E seconds"  ./prime.lua 100000 > /dev/null
	@ time -f "%C : %E seconds"  ./prime.php 100000 > /dev/null