mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-22 23:28:06 +08:00
511c9a6d4a
PUBLISHED_FROM=0e407a2fb328107540d753123fe027f43860d0ef
18 lines
546 B
Makefile
18 lines
546 B
Makefile
#
|
|
# Main component makefile.
|
|
#
|
|
# This Makefile can be left empty. By default, it will take the sources in the
|
|
# src/ directory, compile them and link them into lib(subdirectory_name).a
|
|
# in the build directory. This behaviour is entirely configurable,
|
|
# please read the ESP-IDF documents if you need to do this.
|
|
#
|
|
|
|
COMPONENT_OBJS = main.o mongoose.o
|
|
|
|
mongoose.o: ../../../../mongoose.c
|
|
$(summary) "CC $@"
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) \
|
|
$(addprefix -I ,$(COMPONENT_INCLUDES)) \
|
|
$(addprefix -I ,$(COMPONENT_EXTRA_INCLUDES)) \
|
|
-c $< -o $@
|