# version 3 # In order to use C mathematics library functions puct #include # in the source file and also specify that the program should be linked # with the math library (-lm) when it is compiled. -page 592 of Practical # UNIX Programming all: step0 addZero expander step1 build_mr build_ar readit asciiar step0: step0.c gcc -Wall step0.c -o step0.exe addZero: addZero.c gcc -Wall addZero.c -o addZero.exe expander: expander.c gcc -Wall expander.c -o expander.exe step1: step1.c gcc -Wall step1.c -o step1.exe -lm build_mr: bmr/build_mr_v3.c include/block_v3.h gcc -Wall bmr/build_mr_v3.c -Iinclude -lm -o build_mr.exe build_ar: bar/build_ar_v3.c include/block_v3.h gcc -Wall bar/build_ar_v3.c -Iinclude -lm -o build_ar.exe readit: bar/DF2readit.c include/block_v3.h gcc -Wall bar/DF2readit.c -Iinclude -lm -o readit.exe asciiar: bar/asciiar.c include/block_v3.h gcc -Wall bar/asciiar.c -Iinclude -lm -o asciiar.exe