From 5e97faee89d79c2b7a7867944ee7c1105a1c10c1 Mon Sep 17 00:00:00 2001
From: sola.lu <sola.lu@greentest.com.cn>
Date: 周五, 11 4月 2025 17:30:50 +0800
Subject: [PATCH] 1. 注释动态库生成

---
 examples/test-parser/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/test-parser/Makefile b/examples/test-parser/Makefile
index 3338b7b..dcfa0b1 100644
--- a/examples/test-parser/Makefile
+++ b/examples/test-parser/Makefile
@@ -2,8 +2,8 @@
 PROG = test
 
 SRCS = main.c ../common/scpi-def.c
-CFLAGS += -Wextra -I ../../libscpi/inc/
-LDFLAGS += ../../libscpi/dist/libscpi.a -Wl,--as-needed
+CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -I ../../libscpi/inc/
+LDFLAGS += -lm ../../libscpi/dist/libscpi.a -Wl,--as-needed
 
 .PHONY: clean all
 

--
Gitblit v1.9.1