Before revision:  We consider a market with order flows driven by Hawkes processes where one market makeroperates, aiming at optimizing its profit .
After revision:  We consider a market with order flows driven by general Hawkes processes. We formulate the market maker's objective as a stochastic control problem .