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))
PLUGINS := rects huey fading-rects
PLUGINS := $(wildcard modules/*)
MAKE += --no-print-directory
@ -51,7 +51,7 @@ modules: $(PLUGINS)
@for plug in $(PLUGINS) ;\
do \
cd $$plug && $(MAKE) && $(MAKE) install ;\
cd .. ;\
cd ../.. ;\
done
clean:

View File

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

View File

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

View File

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