LibAC-cpp/Makefile

19 lines
284 B
Makefile
Raw Normal View History

2024-07-30 16:15:02 -07:00
# Compiler and flags
CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wextra
# Source files and target executable
# Build target
2024-07-30 16:33:29 -07:00
all: clean build
2024-07-30 16:15:02 -07:00
2024-07-30 16:33:29 -07:00
build:
mkdir build
2024-07-31 00:18:15 -07:00
cd build && cmake .. && make && mv libac.so .. && cd ..
2024-07-30 16:15:02 -07:00
# Clean up build artifacts
clean:
2024-07-30 16:33:29 -07:00
rm -rf build
2024-07-30 16:15:02 -07:00
.PHONY: all clean