#********************************************************************************
|
# 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}
|