That certainly looks fine to me. It is up to that program's maintainer if they want to do something different. One caveat is that it is normal to use: LIBS = @LIBS@ and then $(LIBS) inside a makefile command rather than @LIBS@ directly.