forked from SPbSAT/simplifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (31 loc) · 1.35 KB
/
Makefile
File metadata and controls
34 lines (31 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
all:
# zip for the paper shold include:
# - main artifacts, including source code
# - README:
# - link to an artifact
# - additional requirements
# - usage instruction
# - usage on results reproduction
# - LICENSE
mkdir -p build/simplify/simplify/
# Copy main files to build an artifact
rsync -rv --exclude='*.o' --exclude='*.*.d' app/ build/simplify/simplify/app
rsync -rv --exclude='*.o' --exclude='*.*.d' benchmark/ build/simplify/simplify/benchmark
rsync -rv --exclude='*.o' --exclude='*.*.d' databases/ build/simplify/simplify/databases
rsync -rv --exclude='*.o' --exclude='*.*.d' src/ build/simplify/simplify/src
rsync -rv --exclude='*.o' --exclude='*.*.d' tests/ build/simplify/simplify/tests
rsync -rv --exclude='*.o' --exclude='*.*.d' third_party/ build/simplify/simplify/third_party
rsync -rv --exclude='*.pyc' --exclude='*.pyo' --exclude='__pycache__' --exclude='.env' tools/ build/simplify/simplify/tools
cp .clang-format build/simplify/simplify/.clang-format
cp .clang-tidy build/simplify/simplify/.clang-tidy
cp CMakeLists.txt build/simplify/simplify/CMakeLists.txt
cp LICENSE build/simplify/simplify/LICENSE
cp README.md build/simplify/simplify/README.md
cd build/simplify/; zip -r simplify.zip simplify
.PHONY: rebuild
rebuild:
$(MAKE) clean
$(MAKE) all
clean:
rm -rf build/simplify/simplify/
rm -f build/simplify/simplify.zip