SquidgeDSP/Makefile

34 lines
823 B
Makefile

#!/usr/bin/make -f
# Makefile for DISTRHO Plugins #
# ------------------------------ #
# Define your plugins here as space-separated names
PLUGINS = SquidgeDistortion
# --------------------------------------------------------------
dgl:
ifeq ($(HAVE_OPENGL),true)
$(MAKE) -C dpf/dgl opengl
endif
# Build all plugins in the PLUGINS list
plugins: dgl
@for plugin in $(PLUGINS); do \
echo "Building $$plugin..."; \
$(MAKE) all -C plugins/$$plugin || exit 1; \
done
# --------------------------------------------------------------
clean:
$(MAKE) clean -C dpf/dgl
@for plugin in $(PLUGINS); do \
echo "Cleaning $$plugin..."; \
$(MAKE) clean -C plugins/$$plugin || true; \
done
rm -rf bin/* build/* core/*.o core/*.obj
# --------------------------------------------------------------
.PHONY: dgl plugins clean