1
0

add alipan

This commit is contained in:
2024-02-02 17:18:44 +08:00
parent 7b9fc827ca
commit 33ac4f1250
12 changed files with 25400 additions and 13 deletions

View File

@@ -9,9 +9,9 @@ CPPFILES := $(foreach dir,$(SRCS),$(notdir $(wildcard $(dir)/*.cpp)))
OFILES := $(CPPFILES:.cpp=.o) $(CFILES:.c=.o)
INCLUDES := -I$(CURDIR)/include -I$(CURDIR)
CFLAGS := -g -Wall $(INCLUDES) `curl-config --cflags`
CFLAGS := -s -Wall $(INCLUDES) `curl-config --cflags`
CXXFLAGS := $(CFLAGS) -fno-rtti -std=c++17
LDFLAGS := `curl-config --libs` -lmbedcrypto
LDFLAGS := `curl-config --libs` -lmbedcrypto -lfmt
.PHONY: all
all: $(TARGET)
@@ -23,4 +23,4 @@ run: all
@./$(TARGET)
clean:
$(RM) -fr $(BUILD) $(TARGET)
$(RM) $(OFILES) $(TARGET)