lassie% ls main.c random.c random.h random2.c typescript lassie% cc201 -c random.c lassie% cc201 -c main.c lassie% ls main.c random.c random.o typescript main.o random.h random2.c lassie% lassie% cc201 main.o random.o lassie% lassie% ls a.out* main.o random.h random2.c main.c random.c random.o typescript lassie% lassie% a.out Enter 1 to continue: 1 Sum of two dice between 1 and 6 8 4 6 5 3 8 9 6 3 10 5 3 6 7 8 5 9 8 7 6 4 6 5 5 7 7 8 9 6 7 12 9 7 10 6 4 5 11 6 5 11 10 12 5 5 7 11 4 7 8 Enter 1 to continue: 1 Sum of two dice between 1 and 6 6 11 8 5 9 8 7 6 12 9 5 10 8 4 10 5 10 2 11 7 7 8 3 3 5 7 8 8 6 6 7 3 8 8 5 11 7 7 11 3 9 11 7 8 3 10 10 8 8 9 Enter 1 to continue: 0 lassie% lassie% rm a.out lassie% lassie% ar -qv libr.a random.o q - random.o ar: Warning: creating libr.a s - creating symbol hash table. Wait... s - done lassie% lassie% ls libr.a main.o random.h random2.c main.c random.c random.o typescript lassie% lassie% cc201 main.o -L . -lr lassie% lassie% a.out Enter 1 to continue: 1 Sum of two dice between 1 and 6 6 11 5 4 6 7 4 12 6 9 5 3 6 12 9 8 9 10 9 5 10 10 5 4 8 7 10 8 8 9 8 9 8 5 11 12 10 5 5 11 7 11 6 4 10 6 8 7 10 7 Enter 1 to continue: 1 Sum of two dice between 1 and 6 7 8 5 7 6 8 5 9 9 7 10 8 7 10 9 10 9 9 7 8 7 11 4 7 7 11 8 6 4 8 3 6 7 6 9 8 4 8 9 4 6 5 5 4 6 12 7 6 7 6 Enter 1 to continue: 0 lassie%