LOADLIBES=-L/project/c_to_perl/lib/ This is where libperlenv.a resides LDLIBS= -lperlenv `perl -MExtUtils::Embed -e ccopts -e ldopts`