bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #39308] .SECONDEXPANSION


From: Paul D. Smith
Subject: [bug #39308] .SECONDEXPANSION
Date: Fri, 21 Jun 2013 04:10:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.45 Safari/537.36

Update of bug #39308 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The mailing lists are much better places to ask for help than the bug
tracker.

GNU make, like all versions of make, will only build the first target in the
makefile by default.  Here the first target is "main", so that's what make
builds.

If you want it to build both "main" and "lib" you'll have to either list them
on the command line ("make main lib") or else add a target before the other
targets that depends on them: the traditional target name for this is "all"
but you can use whatever you like:


all: main lib
main lib: $$(patsubst %.c,%.o,$$(address@hidden))
        @echo $(address@hidden)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39308>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]