-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Workflow integration #29
Conversation
akuker
commented
Aug 28, 2020
- Updated makefile to create multiple "connection type" builds at the same time
- Updated github workflow to build the fullspec and standard versions of rascsi and archive the files
- Updated github workflow to work for all branches
- Updated makefile to only re-build changed files and to generate/use the headers when checking for changes
…ency listings to check for modified header files
… and standard versions of the app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, it’s nice to do deps properly.
OBJ_RASDUMP := $(SRC_RASDUMP:%.cpp=$(OBJDIR)/%.o) | ||
OBJ_SASIDUMP := $(SRC_SASIDUMP:%.cpp=$(OBJDIR)/%.o) | ||
OBJ_SCSIMON := $(SRC_SCSIMON:%.cpp=$(OBJDIR)/%.o) | ||
OBJ_RASCSI := $(addprefix $(OBJDIR)/,$(notdir $(SRC_RASCSI:%.cpp=%.o))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you started the compilation and linker rules with @mkdir -p $(dir $@)
, you could keep the directories in the path and revert the path manipulation you added. (also remove the dirs from prereqs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of having shell commands inline in the makefile. I prefer to use the target/prerequisites functionality of make. Are you OK with leaving this the way it is?