forked from Amber-MD/cpptraj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (32 loc) · 789 Bytes
/
Makefile
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
35
36
37
38
39
40
41
42
# CPPTRAJ - Main makefile
# Daniel R. Roe
# 2014-12-10
# Make all targets
all: install
# Install all targets
install: config.h
cd src && $(MAKE) install
# Create libcpptraj.so
libcpptraj: config.h
cd src && $(MAKE) libcpptraj
# Create static libraries
libstatic: config.h
cd src && $(MAKE) libstatic
# Run Tests
check: config.h
cd test && $(MAKE) test.complete summary
# Run Tests, print errors to STDOUT
verbosecheck: config.h
cd test &&$(MAKE) test.showerrors
unittest: config.h
cd unitTests && $(MAKE) test.complete summary
# Clean up
clean: config.h
cd src && $(MAKE) clean
cd test && $(MAKE) clean
cd unitTests && $(MAKE) clean
docs: src/cpptraj.Doxyfile
cd src && doxygen cpptraj.Doxyfile
# Remove cpptraj binary
uninstall: config.h
cd src && $(MAKE) uninstall