%.cpph: &.cpp cproto %.cpp >%.cpph%.elf: %.cpp %.cpph $(GCC) -I$(ARDUINOINC)/prefix.h -I%.cpph %.cpp ...
It's not that I like makefiles, but for microcontroller programming is still not too hard to use it
For a quick "hack" you need to add LCD4Bit.cpp to the CXXSRC variable in the makefile. Then in the .pde it must read #include "LCD4Bit.h" (no < >) to reference the lib as a local file. The last step is to put the LCD4Bit.h/.cpp in the same directory as the makefile and the .pde. Then it compiles - at least in my case.
# Program settingsCC = /Downloads/arduino-0008/tools/avr/bin/avr-gccCXX = /Downloads/arduino-0008/tools/avr/bin/avr-g++OBJCOPY = /Downloads/arduino-0008/tools/avr/bin/avr-objcopyOBJDUMP = /Downloads/arduino-0008/tools/avr/bin/avr-objdumpSIZE = /Downloads/arduino-0008/tools/avr/bin/avr-sizeNM = /Downloads/arduino-0008/tools/avr/bin/avr-nmAVRDUDE = /Downloads/arduino-0008/tools/avr/bin/avrdude