-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
61 lines (46 loc) · 2.09 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# Main makefile
#
# Please note that the order in which the targets are evaluated
# is important. Don't be tempted to reorder or parallelise
# the makefiles!
#
# Richard Hagen
#
#
# Nothing else should need attention, but there are some things that
# are interesting later on, particularly the rules for making Qu-Prolog
# objects.
#
export QPBIN = /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin
export QC = qc
export QC_RELEASE = qc
export QCFLAGS =
export BOOTSTRAP.qc = $(QPBIN)/$(QC) $(QCFLAGS)
export COMPILE.qc = $(QPBIN)/qc $(QCFLAGS)
export PROLOG = prolog
.PHONY: all
all: objects
#export PARALLEL = -j 2
.PHONY: objects
objects:
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin $(PARALLEL) all
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src $(PARALLEL) all
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src $(PARALLEL) install
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/prolog $(PARALLEL) all
.PHONY: tkICM
tkICM:
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src tkICM
.PHONY: xqp
xqp:
cd /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqp;qmake;cd -
cd /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqpdebug;qmake;cd -
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqp
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqpdebug
/usr/bin/install /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqp/xqp /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin
/usr/bin/install /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src/xqpdebug/xqpdebug /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin
.PHONY: clean
clean:
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/bin $(PARALLEL) clean
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/src $(PARALLEL) clean
@$(MAKE) -C /opt/logicmoo_workspace/packs_sys/logicmoo_opencog/QuProlog/prolog $(PARALLEL) clean