Skip to content

Commit

Permalink
Simplify makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Sep 25, 2018
1 parent 3778ded commit 8baf480
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 329 deletions.
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -4,7 +4,7 @@
# Created by falkTX
#

include Makefile.mk
include dpf/Makefile.base.mk

all: plugins gen

Expand All @@ -16,6 +16,7 @@ plugins:
$(MAKE) all -C plugins/gigaverb
$(MAKE) all -C plugins/pitchshift

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

dpf/utils/lv2_ttl_generator:
$(MAKE) -C dpf/utils/lv2-ttl-generator
else
gen:
endif

# --------------------------------------------------------------

Expand All @@ -33,6 +37,7 @@ clean:
$(MAKE) clean -C plugins/freeverb
$(MAKE) clean -C plugins/gigaverb
$(MAKE) clean -C plugins/pitchshift
rm -rf bin build

# --------------------------------------------------------------

Expand Down
147 changes: 0 additions & 147 deletions Makefile.mk

This file was deleted.

3 changes: 0 additions & 3 deletions bin/README

This file was deleted.

2 changes: 1 addition & 1 deletion dpf
Submodule dpf updated 114 files
153 changes: 0 additions & 153 deletions plugins/Makefile.mk

This file was deleted.

14 changes: 8 additions & 6 deletions plugins/bitcrush/Makefile
Expand Up @@ -12,13 +12,18 @@ NAME = MaBitcrush
# --------------------------------------------------------------
# Files to build

OBJS_DSP = \
DistrhoPluginMaxGen.cpp.o
FILES_DSP = \
DistrhoPluginMaxGen.cpp

# --------------------------------------------------------------
# Do some magic

include ../Makefile.mk
include ../../dpf/Makefile.plugins.mk

# --------------------------------------------------------------
# Extra flags

BUILD_CXX_FLAGS += -I../common -I../common/gen_dsp

# --------------------------------------------------------------
# Enable all possible plugin types
Expand All @@ -27,10 +32,7 @@ ifeq ($(HAVE_JACK),true)
TARGETS += jack
endif

ifeq ($(LINUX),true)
TARGETS += ladspa
endif

TARGETS += lv2_dsp
TARGETS += vst

Expand Down

0 comments on commit 8baf480

Please sign in to comment.