18 lines
284 B
Makefile
18 lines
284 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 .. && cd ..
|
|
|
|
# Clean up build artifacts
|
|
clean:
|
|
rm -rf build
|
|
|
|
.PHONY: all clean
|