Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8342419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:45:57+00:00 2026-06-09T05:45:57+00:00

Question 1 If you define step 22 clean: 23 rm $(OBJECTS) If there any

  • 0

Question 1
If you define step

  22 clean:
  23   rm $(OBJECTS)

If there any way to gracefully “do nothing, if there is nothing to delete“?

Question 2
Assume the following line, again, is there a way to gracefully exit with a warhing when no files are found when processing line

  6 SOURCES = $(shell echo src/*.cpp)

Question 3
How can one perform the final post processing on the final product, like mv $(PRODUCT) someDir? Where would this instruction be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:45:59+00:00Added an answer on June 9, 2026 at 5:45 am

    1) Just use rm -f, which is telling rm to ignore it if the files are missing.

    3) That can just be the last step of the target that actually builds the product, or you can create a target named install (for example) that depends on your build target, and then contains this mv command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question Is there a way to define a method only once in C# (in
Can anyone help me in the following question please? Define a macro which has
I've been given the question: Define a predicate ordered/1, which checks if a list
Short question - how do you define your view models? Here are some of
This question is related to another question, where I wanted to define a custom
I know this is a n00b question but I want to define a variable
I have a silly question here. I define a class with many data members,
Ok, this might be kiddies question in java. We can't define two public classes
Question I wish to know if this is a viable way to implement variable
Is there a way to declare a 2D array of integers in two steps?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.