forked from HazyResearch/mindbender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (21 loc) · 799 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
### Makefile for MindBender -- Stanford Knowledge Base Development Environment
## use BuildKit (https://github.com/netj/buildkit)
PROJECTNAME = Mindbender
GITHUB_REPO = netj/mindbender
# preparing build dependencies under .depends/
DEPENDSDIR = .depends
# packaging as a executable binary
PACKAGENAME = mindbender
PACKAGEEXECUTES = bin/mindbender
PACKAGEVERSIONSUFFIX := -$(shell uname)-$(shell uname -m)
# keeping runtime dependencies
RUNTIMEDEPENDSDIR = depends
include buildkit/modules.mk
buildkit/modules.mk:
git submodule update --init
# add symlink to gui/frontend/src when under development (with work-in-progress)
ifneq ($(PACKAGEVERSION=%+WIP:%),$(PACKAGEVERSION))
polish: $(STAGEDIR)/gui/files/src
$(STAGEDIR)/gui/files/src:
relsymlink gui/frontend/src $(STAGEDIR)/gui/files/
endif