-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.orig
More file actions
51 lines (37 loc) · 839 Bytes
/
Makefile.orig
File metadata and controls
51 lines (37 loc) · 839 Bytes
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
43
#
# This Makefile can be used to automatically build the entire package.
#
# If you make changes in the "Makefile" under any subdirectory, you can
# rebuild the system with "make clean" followed by "make all".
#
#
# Generic. On most systems, this should handle everything.
#
all:
cd lib; make libsdp.a
cd solver; make csdp
cd theta; make all
cd example; make all
#
# Perform a unitTest
#
unitTest:
cd test; make all
#
# Install the executables in /usr/local/bin.
#
install:
cp -f solver/csdp /usr/local/bin
cp -f theta/theta /usr/local/bin
cp -f theta/graphtoprob /usr/local/bin
cp -f theta/complement /usr/local/bin
cp -f theta/rand_graph /usr/local/bin
#
# Clean out all of the directories.
#
clean:
cd lib; make clean
cd solver; make clean
cd theta; make clean
cd test; make clean
cd example; make clean