Files
auth_service/Makefile
T
wt e5abe4bb02
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
added editorconfig and formated code
2025-02-13 19:35:42 +07:00

28 lines
670 B
Makefile

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=build/auth_service
default: all
all: build
.PHONY: build
build:
@if [ ! -d build ]; then \
mkdir build; \
fi
$(CXX) -o $(TARGET) $(SOURCES) $(CXXFLAGS)
clean:
@if [ -f $(TARGET) ]; then \
rm -v $(TARGET); \
fi