SquidgeDSP/Makefile

35 lines
823 B
Makefile
Raw Permalink Normal View History

2026-08-02 05:37:06 +01:00
#!/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; \
2026-08-02 05:37:06 +01:00
done
# --------------------------------------------------------------
clean:
$(MAKE) clean -C dpf/dgl
@for plugin in $(PLUGINS); do \
echo "Cleaning $$plugin..."; \
$(MAKE) clean -C plugins/$$plugin || true; \
2026-08-02 05:37:06 +01:00
done
2026-08-02 22:58:56 +01:00
rm -rf bin/* build/* core/*.o core/*.obj
2026-08-02 05:37:06 +01:00
# --------------------------------------------------------------
.PHONY: dgl plugins clean