If you want to generate a patch for a directory structure:
diff -rau "old_dir" "modified_dir" > "patch_file"In case of two file, ignoring -r would be enough.
r: recursive
a: treat all files as text.
u: Output NUM (default 3) lines of unified context.