Jigsaw/Makefile
Dominik Krenn 0bf90124f1 Add CMake and pkg-config support for cxxopts library
- Created cxxopts-config.cmake.in for CMake configuration.
- Added pkgconfig.pc.in for pkg-config integration.
- Introduced CMakeLists.txt for building example application.
- Implemented example.cpp demonstrating cxxopts usage.
- Updated main.cpp to utilize cxxopts for command line argument parsing.
2025-07-03 12:22:09 +02:00

15 lines
225 B
Makefile

CXX = g++
CXXFLAGS = -std=c++17 -Wall -Icxxopts/include
SRC = src/main.cpp
BIN = jigsaw
OUT = out
all: $(OUT)/$(BIN)
$(OUT)/$(BIN): $(SRC)
mkdir -p $(OUT)
$(CXX) $(CXXFLAGS) $(SRC) -o $(OUT)/$(BIN)
clean:
rm -rf $(OUT)