Files
openrouter/Makefile
T
wt 05a458097f
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 16m32s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7m3s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 7m40s
added actions and Makefile
2025-01-05 23:00:45 +07:00

17 lines
913 B
Makefile

CXX=g++
CXXFLAGS=-Wall -I src/libs -I src
SOURCES=src/openrouter.cpp src/security/cors.cpp src/settings/telnet/enabled.cpp src/settings/telnet/port.cpp src/settings/ssh/status.cpp src/settings/ssh/keys.cpp src/settings/ssh/port.cpp src/settings/dns/enabled.cpp src/settings/dns/servers.cpp src/settings/dns/local_domains.cpp src/settings/wifi/status.cpp src/settings/wifi/name.cpp src/settings/wifi/password.cpp src/settings/wifi/qr.cpp src/settings/wifi/channel.cpp src/settings/ftp/ftp.cpp src/system/reboot/reboot.cpp src/system/syslog/syslog.cpp src/system/uptime/uptime.cpp src/OpenRouter/OpenRouter.cpp src/auth/auth.cpp src/libs/QR-Code-generator/qrcodegen.cpp src/libs/QR-Code-generator/qrtosvg.cpp
TARGET=bin/openrouter
default: all
all: build
build:
@if [ ! -d bin ]; then \
mkdir bin; \
fi
$(CXX) -o $(TARGET) $(SOURCES) $(CXXFLAGS)
clean:
@if [ -f $(TARGET) ]; then \
rm -v $(TARGET); \
fi