This commit is contained in:
olari
2021-06-05 21:10:25 +03:00
parent 807cffd9de
commit e0e0f2be99
923 changed files with 911857 additions and 15 deletions

View File

@@ -0,0 +1,20 @@
ifdef EXAMPLE
BIN_PATH = $(R)plugins-examples/
else
BIN_PATH = $(R)plugins/
endif
INSTALLED_SCRIPTS = $(addprefix $(BIN_PATH), $(SCRIPTS))
all: $(INSTALLED_SCRIPTS)
$(BIN_PATH)%.py: %.py
$(Q)$(CP) $? $@
$(BIN_PATH)%.idc: %.idc
$(Q)$(CP) $? $@
.PHONY: uninstall
uninstall::
rm -rf $(INSTALLED_SCRIPTS)