-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGNUmakefile
More file actions
48 lines (32 loc) · 884 Bytes
/
GNUmakefile
File metadata and controls
48 lines (32 loc) · 884 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
44
45
46
47
48
# global makefile for OGo
-include ./config.make
ifeq ($(wildcard $(GNUSTEP_MAKEFILES)/common.make),)
$(warning Note: GNUstep makefiles not found.)
$(warning Either use ./configure or source GNUstep.sh.)
else
include $(GNUSTEP_MAKEFILES)/common.make
SUBPROJECTS += \
Logic \
Database \
DocumentAPI \
WebUI \
Tools \
XmlRpcAPI \
ZideStore
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include GNUmakefile.postamble
endif
# Docker local build
DOCKER_TAG = ogo-local-dev:latest
DOCKER_FILE = docker/OGoLocalBuild.dockerfile
docker-build:
docker build -t $(DOCKER_TAG) -f $(DOCKER_FILE) .
docker-run:
docker compose up
docker-clean:
docker rmi $(DOCKER_TAG) 2>/dev/null || true
distclean ::
if test -f config.make; then rm config.make; fi
if test -d .makeenv; then rm -r .makeenv; fi
rm -f config-*.log install-*.log