[Makefile]: Fixed warnings in makefile

Fixed the source of the "linker input file unused because linking not done"
warnings in the makefile.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>