Skip to content

Commit 8baf480

Browse files
author
falkTX
committed
Simplify makefiles
1 parent 3778ded commit 8baf480

File tree

9 files changed

+39
-329
lines changed

9 files changed

+39
-329
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Created by falkTX
55
#
66

7-
include Makefile.mk
7+
include dpf/Makefile.base.mk
88

99
all: plugins gen
1010

@@ -16,6 +16,7 @@ plugins:
1616
$(MAKE) all -C plugins/gigaverb
1717
$(MAKE) all -C plugins/pitchshift
1818

19+
ifneq ($(CROSS_COMPILING),true)
1920
gen: plugins dpf/utils/lv2_ttl_generator
2021
@$(CURDIR)/dpf/utils/generate-ttl.sh
2122
ifeq ($(MACOS),true)
@@ -24,6 +25,9 @@ endif
2425

2526
dpf/utils/lv2_ttl_generator:
2627
$(MAKE) -C dpf/utils/lv2-ttl-generator
28+
else
29+
gen:
30+
endif
2731

2832
# --------------------------------------------------------------
2933

@@ -33,6 +37,7 @@ clean:
3337
$(MAKE) clean -C plugins/freeverb
3438
$(MAKE) clean -C plugins/gigaverb
3539
$(MAKE) clean -C plugins/pitchshift
40+
rm -rf bin build
3641

3742
# --------------------------------------------------------------
3843

Makefile.mk

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

bin/README

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

dpf

Submodule dpf updated 114 files

plugins/Makefile.mk

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

plugins/bitcrush/Makefile

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

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

1818
# --------------------------------------------------------------
1919
# Do some magic
2020

21-
include ../Makefile.mk
21+
include ../../dpf/Makefile.plugins.mk
22+
23+
# --------------------------------------------------------------
24+
# Extra flags
25+
26+
BUILD_CXX_FLAGS += -I../common -I../common/gen_dsp
2227

2328
# --------------------------------------------------------------
2429
# Enable all possible plugin types
@@ -27,10 +32,7 @@ ifeq ($(HAVE_JACK),true)
2732
TARGETS += jack
2833
endif
2934

30-
ifeq ($(LINUX),true)
3135
TARGETS += ladspa
32-
endif
33-
3436
TARGETS += lv2_dsp
3537
TARGETS += vst
3638

0 commit comments

Comments
 (0)