How fast is your clock? Functionally it looks ok, but only ok - it could be better - but that's why you're here...
Your code is incrementing the count value displayed on your LEDs every 568 clock cycles. Even if you were running at 10MHz your 8-bit count would wrap every 14ms. You're not likely to see that.
As for the synthesizer creating clocks from your code - the 'clock' input to your 'Clockgenleach' module is driven by the 'true' signal from the previous module. You're using a register output to clock another register. So, the synthesizer has correctly identified the signal as a clock.
I'd like to recommend you recode the last block to look more like your 'clkif' block. Take the clock into it too and look for 'true' to be active on every clock cycle (rather than using 'true' to clock your register). That's much better synchronous design practice.
Cheers,
Alex