From 68826376ee5f47783c644c6604f4411ec747cd7e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Fri, 14 Nov 2025 23:52:16 +0800
Subject: [PATCH] Add UDP DNS client source code
---
project/3.dnsclient/makefile | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/project/3.dnsclient/makefile b/project/3.dnsclient/makefile
new file mode 100644
index 0000000..36ed218
--- /dev/null
+++ b/project/3.dnsclient/makefile
@@ -0,0 +1,27 @@
+#********************************************************************************
+# Copyright: (C) 2023 LingYun IoT System Studio
+# All rights reserved.
+#
+# Filename: Makefile
+# Description: This file used to compile all the C file to respective binary,
+# and it will auto detect cross compile or local compile.
+#
+# Version: 1.0.0(11/08/23)
+# Author: Guo Wenxue <guowenxue@gmail.com>
+# ChangeLog: 1, Release initial version on "11/08/23 16:18:43"
+#
+#*******************************************************************************
+
+APP_NAME=dnsclient
+
+PRJ_PATH=$(shell pwd)
+
+CFLAGS=-Wall -Werror
+
+SRC_FILES = $(wildcard *.c)
+
+all: ${SRC_FILES}
+ $(CC) $(CFLAGS) -o ${APP_NAME} $^ $(LDFLAGS)
+
+clean:
+ rm -f ${APP_NAME}
--
Gitblit v1.9.1