Fixed build, install & clean for modules
This commit is contained in:
parent
f8cd0a77ac
commit
489de843c8
4
Makefile
4
Makefile
@ -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:
|
||||
|
@ -14,7 +14,7 @@ else
|
||||
REALNAME := $(SONAME).$(MINOR)
|
||||
endif
|
||||
|
||||
PREFIX ?= ..
|
||||
PREFIX ?= ../..
|
||||
LIBDIR ?= $(PREFIX)/plugins
|
||||
|
||||
SRCS := $(wildcard *.cpp)
|
||||
|
@ -14,7 +14,7 @@ else
|
||||
REALNAME := $(SONAME).$(MINOR)
|
||||
endif
|
||||
|
||||
PREFIX ?= ..
|
||||
PREFIX ?= ../..
|
||||
LIBDIR ?= $(PREFIX)/plugins
|
||||
|
||||
SRCS := $(wildcard *.cpp)
|
||||
|
@ -14,7 +14,7 @@ else
|
||||
REALNAME := $(SONAME).$(MINOR)
|
||||
endif
|
||||
|
||||
PREFIX ?= ..
|
||||
PREFIX ?= ../..
|
||||
LIBDIR ?= $(PREFIX)/plugins
|
||||
|
||||
SRCS := $(wildcard *.cpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user