From c13c9806f957ebc675462737f4b328d3ab89e028 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Mon, 10 Jul 2023 17:29:22 +0800 Subject: [PATCH] update gpsd.c --- gpsd/booster/makefile | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/gpsd/booster/makefile b/gpsd/booster/makefile new file mode 100644 index 0000000..e11a9de --- /dev/null +++ b/gpsd/booster/makefile @@ -0,0 +1,18 @@ + +PWD=$(shell pwd ) + +LIBNAME=$(shell basename ${PWD} ) +TOPDIR=$(shell dirname ${PWD} ) +CFLAGS+=-D_GNU_SOURCE + +all: clean + @rm -f *.o + @${CROSSTOOL}gcc ${CFLAGS} -I${TOPDIR} -c *.c + ${CROSSTOOL}ar -rcs lib${LIBNAME}.a *.o + +clean: + @rm -f *.o + @rm -f *.a + +distclean: + @make clean -- Gitblit v1.9.1