project-euler/makefile

19 lines
606 B
Makefile

all : 064 074 075 076 085
064 : 064_odd_period_square_roots.c
gcc 064_odd_period_square_roots.c -lm -o 064_odd_period_square_roots.exe
074 : 074_digit_factorial_chains.c
gcc 074_digit_factorial_chains.c -lm -o 074_digit_factorial_chains.exe
075 : 075_singular_integer_right_triangles.c
gcc 075_singular_integer_right_triangles.c -lm -o 075_singular_integer_right_triangles.exe
076 : 076_counting_summations.c
gcc 076_counting_summations.c -o 076_counting_summations.exe
085 : 085_counting_rectangles.c
gcc 085_counting_rectangles.c -lm -o 085_counting_rectangles.exe
clean :
rm -f *.exe *.out