LibAC-cpp/Makefile

18 lines
275 B
Makefile

# Compiler and flags
CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wextra
# Source files and target executable
# Build target
all: clean build
build:
mkdir build
cd build && cmake .. && make && mv libac.so ..
# Clean up build artifacts
clean:
rm -rf build
.PHONY: all clean