-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile-windows
52 lines (39 loc) · 1005 Bytes
/
Makefile-windows
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
#!/usr/bin/make -f
# Makefile for DPF #
# ---------------- #
# Created by falkTX
#
include dpf/Makefile.base.mk
all: dgl plugins gen
# --------------------------------------------------------------
ifneq ($(CROSS_COMPILING),true)
CAN_GENERATE_TTL = true
else ifneq ($(EXE_WRAPPER),)
CAN_GENERATE_TTL = true
endif
dgl:
ifeq ($(HAVE_DGL),true)
$(MAKE) -C dpf/dgl opengl
endif
plugins: dgl
$(MAKE) all -C plugins/LiveCut
ifeq ($(CAN_GENERATE_TTL),true)
gen: plugins dpf/utils/lv2_ttl_generator
@$(CURDIR)/dpf/utils/generate-ttl.sh
dpf/utils/lv2_ttl_generator:
$(MAKE) -C dpf/utils/lv2-ttl-generator
else
gen:
endif
tests: dgl
$(MAKE) -C tests
# --------------------------------------------------------------
clean:
$(MAKE) clean -C dpf/dgl
$(MAKE) clean -C plugins/LiveCut
$(MAKE) clean -C dpf/utils/lv2-ttl-generator
rm -f dpf-widgets/opengl/*.d
rm -f dpf-widgets/opengl/*.o
rm -rf bin build
# --------------------------------------------------------------
.PHONY: dgl plugins tests