Last change
on this file since 3e1bc35 was 3e1bc35, checked in by Matthieu Riolo <matthieu.riolo@…>, 6 years ago |
Adding makefiles which build the layouts as dynamic library. All *.c files addedd to the directory uspace/srv/hid/input/layout will be treated as such
|
-
Property mode
set to
100644
|
File size:
383 bytes
|
Rev | Line | |
---|
[3e1bc35] | 1 | .PHONY: all clean fasterclean all-test
|
---|
| 2 |
|
---|
| 3 | FILES := $(wildcard *.c)
|
---|
| 4 | LAYOUTS := $(patsubst %.c, %, ${FILES})
|
---|
| 5 |
|
---|
| 6 | all:
|
---|
| 7 | $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | clean:
|
---|
| 11 | $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
|
---|
| 12 |
|
---|
| 13 | fasterclean:
|
---|
| 14 | $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
|
---|
| 15 |
|
---|
| 16 | all-test: |
---|
Note:
See
TracBrowser
for help on using the repository browser.