The definition of compile means to gather a number of things together into one.(verb)
Collecting photos for a photo album is an example of to compile.
See compile in Webster's New World College Dictionary
Origin: ME compilen < OFr compiler < L compilare, to snatch together, plunder < com-, together + pilare, to compress, ram down
See compile in American Heritage Dictionary 4
transitive verb com·piled, com·pil·ing, com·piles
Origin: Middle English compilen
Origin: , from Old French compiler
Origin: , probably from Latin compīlāre, to plunder
Origin: : com-, com-
Origin: + pīla, heap (of stones), pillar.
Learn more about compile