增加告警、优化

This commit is contained in:
2022-06-26 19:49:00 +08:00
parent 86d7bf5780
commit 13d417727c
6 changed files with 331 additions and 35 deletions

View File

@@ -1,11 +1,11 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
CFLAGS += -O2 -g -Wall
CFLAGS += -g -Wall
LIB += -lcurl
OBG = rhost
all: rhost.o
$(CC) $(CFLAGS) $^ -o $(OBG)
$(CC) $(CFLAGS) $^ -o $(OBG) $(LIB)
clean:
rm -rf *.o