Browse Source

Add convenient Makefile targets for building plugins

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
da4240b559
1 changed files with 15 additions and 2 deletions
  1. +15
    -2
      Makefile

+ 15
- 2
Makefile View File

@@ -151,5 +151,18 @@ else
endif endif




eachplugin:
$(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});)
# Plugin helpers

allplugins:
for f in plugins/*; do $(MAKE) -C "$$f"; done

cleanplugins:
for f in plugins/*; do $(MAKE) -C "$$f" clean; done

distplugins:
for f in plugins/*; do $(MAKE) -C "$$f" dist; done

plugins:
for f in plugins/*; do (cd "$$f" && ${CMD}); done

.PHONY: all run debug clean dist allplugins cleanplugins distplugins plugins

Loading…
Cancel
Save