Skip to content

Increase subdirectory portability#9

Merged
mateoconlechuga merged 1 commit intoCE-Programming:masterfrom
elfprince13:patch-3
Feb 4, 2016
Merged

Increase subdirectory portability#9
mateoconlechuga merged 1 commit intoCE-Programming:masterfrom
elfprince13:patch-3

Conversation

@elfprince13
Copy link
Copy Markdown
Contributor

This allows us to, for example, portably include files from subdirectories:

SOURCES = $(wildcard *.c) $(subst /,\,$(wildcard */*.c))

(note: if your shell supports "globstar" you can use **/*.c to recursively include from subdirectories)

This allows us to, for example, portably include files from subdirectories:

    SOURCES = $(wildcard *.c) $(subst /,\,$(wildcard */*.c))

(note: if your shell supports "globstar" you can use `**/*.c` to recursively include from subdirectories)
mateoconlechuga added a commit that referenced this pull request Feb 4, 2016
Increase subdirectory portability
@mateoconlechuga mateoconlechuga merged commit 3d09c79 into CE-Programming:master Feb 4, 2016
@elfprince13 elfprince13 deleted the patch-3 branch February 4, 2016 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants