Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pathnames for source dirs cannot contain .c inside even not at the end #16

Closed
rudi-cilibrasi opened this issue Jun 13, 2018 · 1 comment
Assignees

Comments

@rudi-cilibrasi
Copy link

this means we cannot compile apps that use a directory structure like:

src/github.com/should_work.c
src/github.com/should_work.h

where should_work.h is empty and should_work.c simply tries to include should_work.h.
An error will be generated when trying to build:

make: *** No rule to make target 'om/should_work.h', needed by 'obj/should_work.o'.  Stop.

It is because of a bad sed regexp, PR forthcoming

@fbeutin-ledger
Copy link
Contributor

Fixed in latest unified SDK
This behavior is confirmed working, tested with

$> ll src/toto.com/
total 16
drwxrwxr-x 2 francois francois 4096 Mar 28 17:01 ./
drwxrwxr-x 9 francois francois 4096 Mar 28 17:00 ../
-rw-rw-r-- 1 francois francois  345 Mar 28 17:02 file.c
-rw-rw-r-- 1 francois francois   41 Mar 28 17:02 file.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants