Fixed build, install & clean for modules

This commit is contained in:
Bob Polis 2021-01-25 19:56:38 +01:00
parent f8cd0a77ac
commit 489de843c8
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
BIN := $(shell basename $$(pwd)) BIN := $(shell basename $$(pwd))
PLUGINS := rects huey fading-rects PLUGINS := $(wildcard modules/*)
MAKE += --no-print-directory MAKE += --no-print-directory
@ -51,7 +51,7 @@ modules: $(PLUGINS)
@for plug in $(PLUGINS) ;\ @for plug in $(PLUGINS) ;\
do \ do \
cd $$plug && $(MAKE) && $(MAKE) install ;\ cd $$plug && $(MAKE) && $(MAKE) install ;\
cd .. ;\ cd ../.. ;\
done done
clean: clean:

View File

@ -14,7 +14,7 @@ else
REALNAME := $(SONAME).$(MINOR) REALNAME := $(SONAME).$(MINOR)
endif endif
PREFIX ?= .. PREFIX ?= ../..
LIBDIR ?= $(PREFIX)/plugins LIBDIR ?= $(PREFIX)/plugins
SRCS := $(wildcard *.cpp) SRCS := $(wildcard *.cpp)

View File

@ -14,7 +14,7 @@ else
REALNAME := $(SONAME).$(MINOR) REALNAME := $(SONAME).$(MINOR)
endif endif
PREFIX ?= .. PREFIX ?= ../..
LIBDIR ?= $(PREFIX)/plugins LIBDIR ?= $(PREFIX)/plugins
SRCS := $(wildcard *.cpp) SRCS := $(wildcard *.cpp)

View File

@ -14,7 +14,7 @@ else
REALNAME := $(SONAME).$(MINOR) REALNAME := $(SONAME).$(MINOR)
endif endif
PREFIX ?= .. PREFIX ?= ../..
LIBDIR ?= $(PREFIX)/plugins LIBDIR ?= $(PREFIX)/plugins
SRCS := $(wildcard *.cpp) SRCS := $(wildcard *.cpp)