Dan, One other thing to think about - as we add more functionality into DPDK (e.g. new libraries for other packet functions), we integrate them into the DPDK framework. If you extract compilation flags and setup your own makefile, you would have to do this re-integration every time you want to pick up a new release. The same applies to newer files added etc. etc. That is the downside.
Regards, -Venky -----Original Message----- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon Sent: Tuesday, January 14, 2014 3:38 AM To: Daniel Kan Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library Hello, 14/01/2014 08:02, Daniel Kan: > I already have existing makefiles for my current application. I would > like to integrate dpdk into the application. ?m wondering if there is > any benefit to use dpdk?s makefiles instead of using your own makefile > and linking against the library (e.g. libintel_dpdk.a). Thanks. DPDK makefiles have 2 benefits: - provide a framework - automatically set CFLAGS and LDFLAGS according to your configuration If you don't need a framework, I think it's better to extract compilation flags with something like pkg-config. http://freedesktop.org/wiki/Software/pkg-config A patch for a such feature would be welcome :) -- Thomas