Anyone? @OlegHahm , @daniel-k ?
2015-10-09 16:50 GMT+02:00 Baptiste Clenet :
> Hi all,
>
> I'm building an example (let's called it "app") for RIOT with the
> following structure:
> app/*.c
> app/include/*.h
> app/thingA/*.c
> app/thingA/include*.h
> app/thingB/*.c
>
Hey,
On 10/14/2015 09:05 AM, Baptiste Clenet wrote:
Anyone? @OlegHahm , @daniel-k ?
One way that comes to mind is manually filling the SRC variable in
app/Makefile,
e.g.,
SRC += ./*.c thingA/*.c
Kaspar
___
devel mailing list
devel@riot-os.org
Baptist,
Did you try the following?
app/Makefile:
```
...
DIRS += thingA thingB
INCLUDES += -I$(CURDIR)/include -I$(CURDIR)/thingA -I$(CURDIR)/thingB
...
```
app/thingA/Makefile, app/thingB/Makefile
```
module = $(APPLICATION)
include $(RIOTBASE)/Makefile.base
```
This way all code in `app`
Thanks Thomas and Rakendra. I didn't try it but it will work as good
as Attilio solution expect from the fact that it will use only one
module APPLICATION.
Thanks again!
Cheers,
Baptiste
2015-10-14 14:03 GMT+02:00 Thomas Eichinger :
> Baptist,
>
> Did you try the
Hi all,
I'm building an example (let's called it "app") for RIOT with the
following structure:
app/*.c
app/include/*.h
app/thingA/*.c
app/thingA/include*.h
app/thingB/*.c
app/thingB/include*.h
How to add the required path in the Makefile? Should I add
Makefile.base in each folder or is there