added editorconfig and formated code
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-02-13 19:35:42 +07:00
1 parent 77a483a38a
commit e5abe4bb02
23 files changed
+22332 -21478

No files matched your search

+16 -5
View File
@@ -1,16 +1,27 @@
CXX=g++
CXXFLAGS=-Wall -l ssl -l crypto -I src/libs -I src/auth -I src/security -I src/users -I src
SOURCES=src/auth_service.cpp src/auth/auth.cpp src/auth/verify_auth.cpp src/security/cors.cpp src/users/access_request.cpp src/users/add_user.cpp src/users/change_password.cpp src/users/change_user.cpp src/users/delete_user.cpp src/users/get_all_users.cpp src/users/get_user.cpp src/AuthService/AuthService.cpp
TARGET=bin/auth_service
SOURCES=src/auth_service.cpp \
src/auth/auth.cpp \
src/auth/verify_auth.cpp \
src/security/cors.cpp \
src/users/access_request.cpp \
src/users/add_user.cpp \
src/users/change_password.cpp \
src/users/change_user.cpp \
src/users/delete_user.cpp \
src/users/get_all_users.cpp \
src/users/get_user.cpp \
src/AuthService/AuthService.cpp
TARGET=build/auth_service
default: all
all: build
.PHONY: build
build:
@if [ ! -d bin ]; then \
mkdir bin; \
@if [ ! -d build ]; then \
mkdir build; \
fi
$(CXX) -o $(TARGET) $(SOURCES) $(CXXFLAGS)
clean:
@if [ -f $(TARGET) ]; then \
rm -v $(TARGET); \
fi