1
0

init http framework

This commit is contained in:
2023-04-25 02:59:59 +00:00
parent f4e7319a44
commit 7b9fc827ca
12 changed files with 1693 additions and 39 deletions

View File

@@ -1,16 +1,17 @@
TARGET = cDrive
CC = gcc
SRCS := src src/drive
SRCS := src src/drive qrcodegen
VPATH := $(foreach dir,$(SRCS),$(CURDIR)/$(dir))
CFILES := $(foreach dir,$(SRCS),$(notdir $(wildcard $(dir)/*.c)))
CPPFILES := $(foreach dir,$(SRCS),$(notdir $(wildcard $(dir)/*.cpp)))
OFILES := $(CPPFILES:.cpp=.o) $(CFILES:.c=.o)
INCLUDES := -I$(CURDIR)/include
INCLUDES := -I$(CURDIR)/include -I$(CURDIR)
CFLAGS := -g -Wall $(INCLUDES) `curl-config --cflags`
CXXFLAGS := $(CFLAGS) -fno-rtti -std=c++17
LDFLAGS := `curl-config --libs` -lqrcodegen -lmbedcrypto
LDFLAGS := `curl-config --libs` -lmbedcrypto
.PHONY: all
all: $(TARGET)