moved LDFLAGS after object files in Makefile