mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* 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
23 lines
488 B
Makefile
23 lines
488 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 \
|
|
stmt2_insert_demo \
|
|
tmq_demo
|
|
|
|
LIBS = -ltaos -lpthread
|
|
|
|
CFLAGS = -g
|
|
|
|
all: $(TARGETS)
|
|
|
|
$(TARGETS):
|
|
$(CC) $(CFLAGS) -o $@ $(wildcard $(@F).c) $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(TARGETS)
|