here's another makefile for pdlua, that is based on the most recent template/Makefile.
it's supposed to be dropped into loaders/pdlua/ (rather than (loaders/pdlua/src/)
the main differences between the old Makefile (which could still co-exist, as it lives in another directory) are: - uses LUA_CFLAGS and LUA_LIBS to override *only* the compiler/linker flags for the system-installed lua - has all standard build targetes do something useful. esp. "make install" and "make dist" the only target that is not working is "dpkg-source" (which imho , shouldn't be working anyhow)
to make PdX switch to the new makefile, a few amendments are required (which i can provide, once this Makefile has been accepted)
gfadsmr IOhannes