project-euler/makefile

19 lines
606 B
Makefile
Raw Normal View History

2023-03-27 16:30:58 +02:00
all : 064 074 075 076 085
2023-03-26 22:59:33 +02:00
2023-03-27 16:30:58 +02:00
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
2023-03-26 22:59:33 +02:00
2023-03-27 16:30:58 +02:00
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
2023-03-26 22:59:33 +02:00
clean :
rm -f *.exe *.out