mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
3a5e5f10e2
Merging as suggested by @TerryE (and squashing at the same time. Turns out that this feature is enabled for this repo). * Squashed commit of the following: commit f985f10d9d2ee035f5a6ee6245c60d9904d98cc1 Author: philip <philip@gladstonefamily.net> Date: Sun Mar 27 21:52:46 2016 -0400 Better mdns code commit 6ee49ee106274bc63f6309047e57f7bc9828523e Author: philip <philip@gladstonefamily.net> Date: Fri Mar 25 23:25:11 2016 -0400 Update the docs commit 7e455541c6f2531824cfb2419d051f1306935fdf Author: philip <philip@gladstonefamily.net> Date: Thu Mar 24 21:58:16 2016 -0400 Add retries and buffer checking to mdns Get the length right Now it seems to work * Might work for combined mode * Fix crash * Simplified various bits of code. Changed the LUA interface Added checking (to some degree) incoming quyery types Move the defaults to the right place Added reference to the RFC`
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
|
|
#############################################################
|
|
# Required variables for each makefile
|
|
# Discard this section from all parent makefiles
|
|
# Expected variables (with automatic defaults):
|
|
# CSRCS (all "C" files in the dir)
|
|
# SUBDIRS (all subdirs with a Makefile)
|
|
# GEN_LIBS - list of libs to be generated ()
|
|
# GEN_IMAGES - list of images to be generated ()
|
|
# COMPONENTS_xxx - a list of libs/objs in the form
|
|
# subdir/lib to be extracted and rolled up into
|
|
# a generated lib/image xxx.a ()
|
|
#
|
|
ifndef PDIR
|
|
GEN_LIBS = libnodemcu_net.a
|
|
endif
|
|
|
|
#############################################################
|
|
# Configuration i.e. compile options etc.
|
|
# Target specific stuff (defines etc.) goes in here!
|
|
# Generally values applying to a tree are captured in the
|
|
# makefile at its root level - these are then overridden
|
|
# for a subtree within the makefile rooted therein
|
|
#
|
|
#DEFINES +=
|
|
|
|
#############################################################
|
|
# Recursion Magic - Don't touch this!!
|
|
#
|
|
# Each subtree potentially has an include directory
|
|
# corresponding to the common APIs applicable to modules
|
|
# rooted at that subtree. Accordingly, the INCLUDE PATH
|
|
# of a module can only contain the include directories up
|
|
# its parent path, and not its siblings
|
|
#
|
|
# Required for each makefile to inherit from the parent
|
|
#
|
|
|
|
INCLUDES := $(INCLUDES) -I $(PDIR)include
|
|
INCLUDES += -I ./
|
|
INCLUDES += -I ../libc
|
|
PDIR := ../$(PDIR)
|
|
sinclude $(PDIR)Makefile
|
|
|