alex99
July 4, 2017, 12:01am
1
folder structure
project
└───src
│ │ auto.c
│ │ init.c
│ │ opcontrol.c
│ │ Makefile
| └───foo
| | bah.c
|
└───include
│ │ API.h
│ │ main.h
| └───foo
| | bah.h
How exactly would I modify the makefile to search subdirectories of src? right now the code works if I put foo.c in src however does not work in the state presented above. Therefore it isn’t a problem with the code.
Barin
July 4, 2017, 1:01am
2
alex99:
folder structure
project
└───src
│ │ auto.c
│ │ init.c
│ │ opcontrol.c
│ │ Makefile
| └───foo
| | bah.c
|
└───include
│ │ API.h
│ │ main.h
| └───foo
| | bah.h
How exactly would I modify the makefile to search subdirectories of src? right now the code works if I put foo.c in src however does not work in the state presented above. Therefore it isn’t a problem with the code.
https://vexforum.com/t/pros-directories/41360/1
I somehow missed this while researching my bad. I will leave this here to hopefully prevent others from missing it.
edit: words