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 7994435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:07:52+00:00 2026-06-04T14:07:52+00:00

I am writing Makefile dist and install target. There are many files to copy.

  • 0

I am writing Makefile dist and install target. There are many files to copy. So i want to know whether gnu make support parameter like shell’.

In makefile, I want to something achieve this below.

cp src/server/{IPinfo_server, IPinfo_server.conf} IPinfo/server

Now i write like this below in makefile.

cp src/server/IPinfo_server IPinfo/server
cp src/server/IPinfo_server.conf IPinfo/server

Or may be i should write it in shell script?

PS: I tried to google it. But i don’t know how to describe the question. 🙁

PS1: The problem is there should not space in “IPinfo_server, IPinfo_server.conf”

  • 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-04T14:07:53+00:00Added an answer on June 4, 2026 at 2:07 pm

    Yes, it does.

    It’s easy to test out.

    $ cat GNUmakefile
    
    all: 
        @echo foo{1,2}
    
    $ gmake
    foo1 foo2
    
    $ echo $SHELL
    /bin/bash
    

    In case it doesn’t work for you, try explicitly adding SHELL = /bin/bash to your GNUMakefile.

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

Sidebar

Related Questions

I'm writing a custom makefile project using QtCreator and I want to delete a
I am writing a Makefile, and I want to use a generic rule with
I'm writing a Makefile for C. I want be able to specify different programs
I was writing a makefile and suppose I have the following; FILES = file1.py
I am writing a PHP extension. config.m4 generates the Makefile, but I want to
I am writing a makefile in bash and I have a target in which
I am writing a master makefile to compile and install multiple autoconf based libraries,
I am stuck in writing a Makefile when my source code files are across
I am writing a makefile. However except for the path expansion and restrictions on
How would I go about writing a Makefile that would call, say, gedit hashtable.cpp

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.