On Wed, Oct 02, 2013 at 06:34:15PM +0200, Sven Eckelmann wrote:
On Wednesday 02 October 2013 06:19:15 Simon Wunderlich wrote:
+# alfred build +BINARY_NAME = alfred-gpsd +OBJ = alfred-gpsd.o
+# alfred flags and options +CFLAGS += -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -MP +LDLIBS += -lgps
I have no idea if we need some special handling for this to let it work for crosscompiling, OpenWRT etc?
Please use pkg-config for things like this. An example Makefile is attached.
Hi Sven
Thanks for the Makefile. Works on my Debian system.
Andrew