julun <host.haiku@xxxxxx> wrote: > Not sure if it would be the right place, but to avoid code > duplication > you can move the AnalogClock.cpp to /src/kits/shared and the .h to > /headers/private/shared. Probably you can fiddle something in the > Jamfile as well. > > Maybe there's an other way/place to share files between apps? Sure, you can use the source code of other apps directly, there is no need to move it to a shared folder; at least in this case it wouldn't make much sense I suppose. There are basically two methods to achieve that: SEARCH on [ FGristFiles kernel_cpp.cpp list.c ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; Will give you access to kernel_cpp.cpp and list.c (specified after the source file use). SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src libs zlib ] ; Will give you access to all files in src/libs/zlib. Specified before source file use. Bye, Axel.