Professional Web Applications Themes

make -q - UNIX Programming

Frédéric Mayot <com> wrote in <402cd809$0$28760$free.fr>: # Hi, # # I think it's not the right newsgroup but I don't know where to post... comp.unix.programmer might fit better. Xpost and Followup-To set. # I tried "make -q; echo $?" to test if my rules are up to date, but it # always returns the same exit status 1. What's wrong ? Rules cannot be up to date. Targets can. If they aren't, run make without -q, then they should be. If they still aren't, your Makefile is buggy. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core ...

  1. #1

    Default Re: make -q

    Frédéric Mayot <com> wrote
    in <402cd809$0$28760$free.fr>:
    # Hi,
    #
    # I think it's not the right newsgroup but I don't know where to post...

    comp.unix.programmer might fit better. Xpost and Followup-To set.

    # I tried "make -q; echo $?" to test if my rules are up to date, but it
    # always returns the same exit status 1. What's wrong ?

    Rules cannot be up to date. Targets can. If they aren't, run make
    without -q, then they should be. If they still aren't, your Makefile is
    buggy.

    Regards,

    Jens
    --
    Jens Schweikhardt http://www.schweikhardt.net/
    SIGSIG -- signature too long (core dumped)
    Jens Guest

  2. #2

    Default Re: make -q

    > Rules cannot be up to date. Targets can.

    Sorry, I meant target.
     

    The thing is that I don't want to execute make... I need to know if make
    is going to update the targets, which -q is supposed to do (??) (The
    makefile works perfectly well without -q)
    Frédéric Guest

  3. #3

    Default Re: make -q



    Frédéric Mayot wrote:
     
    >
    >
    > Sorry, I meant target.
    >  
    >
    > The thing is that I don't want to execute make... I need to know if make
    > is going to update the targets, which -q is supposed to do (??) (The
    > makefile works perfectly well without -q)[/ref]

    There are several variations on make. At least one of which (nmake)
    "compiles" the "makefile" (including the rules) into pseudo-code.
    It may be that the version of "make" the OP is using only
    uses the "pseudo-code" version when using the -q option.

    If this is the case, there may be an option to just compile
    the pseudo-code without executing it. Check appropriate
    man pages for you version of make.


    --
    Ñ
    "It is impossible to make anything foolproof because fools are so
    ingenious" - A. Bloch

    Nick Guest

Similar Threads

  1. i really wana make flash which prog do i download? andhow do i make it?
    By bob dole rules!!!!! in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: January 14th, 07:26 PM
  2. Replies: 3
    Last Post: December 5th, 10:15 AM
  3. Replies: 1
    Last Post: January 27th, 05:13 AM
  4. GNU make & make.pl are dead: long live Perl makepp
    By Daniel Pfeiffer in forum PERL Miscellaneous
    Replies: 1
    Last Post: September 9th, 07:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139