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))
|
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:
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user