summaryrefslogtreecommitdiff
path: root/build/Makefile.plugins
blob: 867813553c94aa467bebe17f26d96af3aa913023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include build/Makefile.incl

targets = resistance placement keyboard mouse

all clean distclean:
	@for i in $(targets); do \
		$(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
	done

install:
	@for i in $(targets); do \
		$(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
	done
	$(LIBTOOL) --mode=finish $(DESTDIR)$(plugindir)

uninstall:
	@for i in $(targets); do \
		$(MAKE) -$(MAKEFLAGS) -f build/Makefile.plugins.$$i $@; \
	done
	-rmdir $(DESTDIR)$(plugindir)

.PHONY: all clean distclean install uninstall