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
|
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) $@;)
|
---|
[8f16ede6] | 8 | $(foreach LAYOUT,$(LAYOUTS), cp -p $(LAYOUT).so.0.0 $(LAYOUT).so;)
|
---|
[3e1bc35] | 9 |
|
---|
| 10 | clean:
|
---|
| 11 | $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
|
---|
[8f16ede6] | 12 | rm *.so
|
---|
[3e1bc35] | 13 |
|
---|
| 14 | fasterclean:
|
---|
| 15 | $(foreach LAYOUT,$(LAYOUTS), $(MAKE) -f Makefile.helper LAYOUT=$(LAYOUT) $@;)
|
---|
[8f16ede6] | 16 | rm *.so
|
---|
[3e1bc35] | 17 |
|
---|
| 18 | all-test: |
---|
Note:
See
TracBrowser
for help on using the repository browser.