source: mainline/uspace/srv/hid/input/layout/Makefile@ 8f16ede6

Last change on this file since 8f16ede6 was 8f16ede6, checked in by Matthieu Riolo <matthieu.riolo@…>, 6 years ago

Turning old layouts into dynamic libraries

Adds new makefiles which creates dynamic
libraries for every layout. Extends existing
makefile for exposing those layout in the
distributed image

  • Property mode set to 100644
File size: 467 bytes
Line 
1.PHONY: all clean fasterclean all-test
2
3FILES := $(wildcard *.c)
4LAYOUTS := $(patsubst %.c, %, ${FILES})
5
6all:
7 $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
8 $(foreach LAYOUT,$(LAYOUTS), cp -p $(LAYOUT).so.0.0 $(LAYOUT).so;)
9
10clean:
11 $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
12 rm *.so
13
14fasterclean:
15 $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
16 rm *.so
17
18all-test:
Note: See TracBrowser for help on using the repository browser.