init http framework
This commit is contained in:
7
Makefile
7
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user