mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-09 11:38:14 +08:00
45 lines
1.7 KiB
Makefile
45 lines
1.7 KiB
Makefile
###############################################################################
|
|
#
|
|
# The MIT License
|
|
# Copyright (c) 2016 MXCHIP Inc.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is furnished
|
|
# to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
###############################################################################
|
|
|
|
|
|
NAME := App_TC1
|
|
|
|
$(NAME)_SOURCES := main.c\
|
|
cJSON/cJSON.c\
|
|
ota_server/ota_server.c\
|
|
user_wifi.c\
|
|
user_gpio.c\
|
|
user_udp.c\
|
|
user_sntp.c\
|
|
user_rtc.c\
|
|
mqtt_server/user_mqtt_client.c\
|
|
ota_server/user_ota.c\
|
|
user_power.c\
|
|
mqtt_server/user_function.c\
|
|
http_server/app_httpd.c
|
|
|
|
$(NAME)_COMPONENTS := protocols/SNTP\
|
|
protocols/mqtt\
|
|
utilities/url\
|
|
daemons/http_server
|
|
|