-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
46 lines (35 loc) · 1.05 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
.PHONY: all clean realclean distclean test dggal dgg
DGGAL_ABSPATH := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
ifndef ECERE_SDK_SRC
ECERE_SDK_SRC := $(DGGAL_ABSPATH)../ecere-sdk
endif
_CF_DIR = $(ECERE_SDK_SRC)/
include $(_CF_DIR)crossplatform.mk
# TARGETS
all: dgg
dggal:
+$(_MAKE) -f Makefile.dggal
+$(_MAKE) -f Makefile.dggal.static
dgg: dggal
+$(_MAKE) -f Makefile.dgg
+$(_MAKE) -f Makefile.dgg.static
test: all
+cd tests && $(_MAKE) test
clean:
+$(_MAKE) -f Makefile.dgg clean
+$(_MAKE) -f Makefile.dgg.static clean
+$(_MAKE) -f Makefile.dggal clean
+$(_MAKE) -f Makefile.dggal.static clean
+cd tests && $(_MAKE) clean
realclean:
+$(_MAKE) -f Makefile.dgg realclean
+$(_MAKE) -f Makefile.dgg.static realclean
+$(_MAKE) -f Makefile.dggal realclean
+$(_MAKE) -f Makefile.dggal.static realclean
+cd tests && $(_MAKE) realclean
distclean:
+$(_MAKE) -f Makefile.dgg distclean
+$(_MAKE) -f Makefile.dgg.static distclean
+$(_MAKE) -f Makefile.dggal distclean
+$(_MAKE) -f Makefile.dggal.static distclean
+cd tests && $(_MAKE) distclean