Happy Bacon Day!
V, 28, 26, 24 bytes
Ài)³=)Y4PÒ-G.MÓ)/(
kÀäG
Try it online!
Explanation:
Ài " Arg 1 times insert:
)³=) " ')===)'
<esc> " Escape back to normal mode
Y " Yank this line
4P " Paste four times
Ò- " Replace this line with '-'
G. " Repeat on the last line
M " Move to the middle line
Ó)/( " Replace ')' with '('
k " Move up (to the second line)
À " Arg 2 times
äG " Duplicate everything up to the last line
TI-Basic, 80 bytes
This one was actually quite genius :)
":→Str0:Input :For(M,0,4Y:For(N,1,X:")===)
If not(fPart(M/4:"-----
If .5=fPart(M/4:"(===(
Str0+Ans→Str0:End:Ans+":→Str0:End
Python 2.7, 74 bytes
I'm sure this could be golfed some more, but this is what I came up with (Python's string multiplication feature sure comes in handy):
a,b=input();f="-"*5*a;d=")===)"*a;print'\n'.join([f,d,"(===("*a,d,''])*b+f
Try it here!
Ungolfed with explanation:
a,b = input() # Take input from the user as a tuple
f = "-"*5 * a # f is the delimiter between bacons
d = ")===)" * a # 2nd and 4th lines of bacon
print '\n'.join([f, d, "(===("*a, d, ''])*b + f # Join everything together!