Skip to content

Build-system does not fail properly #22

Open

Description

@smondet

With the current Makefile, make returns 0 even when the build fails:

It's (at least) because of this for loop:

$(MAKE) --no-print-directory -C $$dir; \

One possible option is to use && instead of ; like this:

         @for dir in $(SUBDIRS); do \
                 echo "- Building in $$dir" && \
                 $(MAKE) --no-print-directory -C $$dir && \
                 echo "" ; \
         done

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions