TDengine/docs/examples/c-ws/Makefile
guozhenwei ddae2e481e
docs: add c ws new examples (#32011)
* test: add Makefile and test script for C ws examples

* docs: add c ws new examples

* docs: replace c ws examples with c ws new examples

* fix: correct log file redirection syntax in c_ws scripts

* style: format code

* docs: update c/c++ zh doc

* docs: add async demo and ws error code

* docs: modify c/c++ zh doc

* docs: rename asyncdemo.c to async_demo.c

* docs: update c ws zh doc

* docs: update c ws en docs

* docs: fix typos and improve WebSocket connection documentation

* docs: refactor code structure for improved readability and maintainability

* docs: modify stmt en doc

* fix: fix build doc errors

* fix: fix return value

* fix: delete taos_options

* fix: fix return value

* docs: update c/c++ connector docs
2025-07-28 14:23:39 +08:00

22 lines
456 B
Makefile

# Makefile for building TDengine examples on Linux
TARGETS = connect_example \
create_db_demo \
insert_data_demo \
query_data_demo \
with_reqid_demo \
sml_insert_demo \
stmt_insert_demo \
tmq_demo
LIBS = -ltaosws -lpthread
CFLAGS = -g
all: $(TARGETS)
$(TARGETS):
$(CC) $(CFLAGS) -o $@ $(wildcard $(@F).c) $(LIBS)
clean:
rm -f $(TARGETS)