Skip to content

Commit 3a2809d

Browse files
author
falkTX
committed
Simplify makefiles
1 parent de73a58 commit 3a2809d

File tree

13 files changed

+61
-323
lines changed

13 files changed

+61
-323
lines changed

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
*.a
2+
*.d
23
*.o
34

45
*.exe
56
*.dll
67
*.dylib
78
*.so
9+
*.zip
810

911
.kdev_include_paths
1012
.kdev4/
1113

12-
bin/*-dssi/
13-
bin/*.lv2/
14-
bin/PowerJuice
15-
bin/PowerJuiceX2
16-
bin/StutterJuice
17-
bin/TriggerJuice
18-
bin/VectorJuice
19-
bin/WobbleJuice
14+
bin/
15+
build/

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "dpf"]
22
path = dpf
3-
url = git://github.com/DISTRHO/DPF
3+
url = https://github.com/DISTRHO/DPF

Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,37 @@
44
# Created by falkTX
55
#
66

7-
all: libs plugins gen
7+
include dpf/Makefile.base.mk
8+
9+
all: dgl plugins gen
810

911
# --------------------------------------------------------------
1012

11-
libs:
13+
dgl:
14+
ifeq ($(HAVE_DGL),true)
1215
$(MAKE) -C dpf/dgl
16+
endif
1317

14-
plugins: libs
18+
plugins: dgl
1519
$(MAKE) all -C plugins/PowerJuice
1620
$(MAKE) all -C plugins/PowerJuiceX2
1721
$(MAKE) all -C plugins/StutterJuice
1822
$(MAKE) all -C plugins/TriggerJuice
1923
$(MAKE) all -C plugins/VectorJuice
2024
$(MAKE) all -C plugins/WobbleJuice
2125

26+
ifneq ($(CROSS_COMPILING),true)
2227
gen: plugins dpf/utils/lv2_ttl_generator
2328
@$(CURDIR)/dpf/utils/generate-ttl.sh
29+
ifeq ($(MACOS),true)
30+
@$(CURDIR)/dpf/utils/generate-vst-bundles.sh
31+
endif
2432

2533
dpf/utils/lv2_ttl_generator:
2634
$(MAKE) -C dpf/utils/lv2-ttl-generator
35+
else
36+
gen:
37+
endif
2738

2839
# --------------------------------------------------------------
2940

@@ -36,6 +47,7 @@ clean:
3647
$(MAKE) clean -C plugins/TriggerJuice
3748
$(MAKE) clean -C plugins/VectorJuice
3849
$(MAKE) clean -C plugins/WobbleJuice
50+
rm -rf bin build
3951

4052
# --------------------------------------------------------------
4153

Makefile.mk

Lines changed: 0 additions & 137 deletions
This file was deleted.

bin/README

Lines changed: 0 additions & 3 deletions
This file was deleted.

dpf

Submodule dpf updated 73 files

plugins/Makefile.mk

Lines changed: 0 additions & 130 deletions
This file was deleted.

plugins/PowerJuice/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ NAME = PowerJuice
1212
# --------------------------------------------------------------
1313
# Files to build
1414

15-
OBJS_DSP = \
16-
PowerJuicePlugin.cpp.o
15+
FILES_DSP = \
16+
PowerJuicePlugin.cpp
1717

18-
OBJS_UI = \
19-
PowerJuiceArtwork.cpp.o \
20-
PowerJuiceUI.cpp.o
18+
FILES_UI = \
19+
PowerJuiceArtwork.cpp \
20+
PowerJuiceUI.cpp
2121

2222
# --------------------------------------------------------------
2323
# Do some magic
2424

25-
include ../Makefile.mk
25+
include ../../dpf/Makefile.plugins.mk
2626

2727
# --------------------------------------------------------------
2828
# Enable all possible plugin types
2929

3030
ifeq ($(LINUX),true)
31-
all: jack lv2_one vst
31+
all: jack lv2 vst
3232
else
33-
all: lv2_one vst
33+
all: lv2 vst
3434
endif
3535

3636
# --------------------------------------------------------------

0 commit comments

Comments
 (0)