1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

ST: Refine tools and CMakeLists.txt. Add backtrace example. v5.0.79

This commit is contained in:
winlin 2022-10-21 22:42:58 +08:00
parent d9cf874033
commit 5a1a234855
18 changed files with 410 additions and 353 deletions

View file

@ -13,7 +13,7 @@ CFLAGS += -arch $(CPU_ARCHS)
endif
./helloworld: helloworld.c $(LDLIBS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -o helloworld helloworld.c $(LDLIBS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -o $@ $^ $(LDLIBS)
clean:
cd ../.. && make clean

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2021 Winlin */
/* Copyright (c) 2013-2022 Winlin */
#include <stdio.h>