Skip to content

Commit

Permalink
Fix build rules
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Feb 21, 2024
1 parent 6f61341 commit c4474e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build/%/dpf-widgets: dpf-widgets
-@mkdir -p build/$*
ln -s $(abspath $<) $@

build/%/Makefile: hvcc/build/bin/hvcc plugins/%/plugin.json plugins/%/plugin.pd
build/%/Makefile: hvcc/build/lib/hvcc/__init__.py plugins/%/plugin.json plugins/%/plugin.pd
env PYTHONPATH=$(CURDIR)/hvcc/build/lib \
python3 ./hvcc/build/lib/hvcc/__init__.py \
plugins/$*/plugin.pd \
Expand All @@ -47,10 +47,10 @@ build/%/Makefile: hvcc/build/bin/hvcc plugins/%/plugin.json plugins/%/plugin.pd
dpf/utils/lv2_ttl_generator$(APP_EXT):
$(MAKE) -C dpf/utils/lv2-ttl-generator

hvcc/build/bin/hvcc:
hvcc/build/lib/hvcc/__init__.py:
cd hvcc && \
python3 -m pip install --isolated --no-cache-dir --no-input -q -r requirements.txt && \
python3 setup.py build
[ -e build ] || python3 setup.py build

# ---------------------------------------------------------------------------------------------------------------------
# cleanup
Expand Down

0 comments on commit c4474e1

Please sign in to comment.