Skip to content

build(development/makefile): add obj and lib directories recipes#13

Open
ece-mohammad wants to merge 1 commit intoGurux:masterfrom
ece-mohammad:build/make_obj_lib_dirs_recipes
Open

build(development/makefile): add obj and lib directories recipes#13
ece-mohammad wants to merge 1 commit intoGurux:masterfrom
ece-mohammad:build/make_obj_lib_dirs_recipes

Conversation

@ece-mohammad
Copy link
Copy Markdown

Currently, to build DLMS.c as a ststaic library, one needs to make in the development directory. But the makefile assumes the lib and obj directories already exists. if they are not created before running make, an error is thrown. This change adds recipes to create the directories if they don't exist.

  • Add recipes for OBJDIR and BINDIR directories
  • Add OBJDIR and BINDIR as dependencies to library recipe
  • Added md variable to use platform's command to create directories

Add recipes for OBJDIR and BINDIR directories, and add them as dependencies to library recipe
@sonarqubecloud
Copy link
Copy Markdown

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

Successfully merging this pull request may close these issues.

1 participant