Using make
From: JS (d44sf_at_44ada.com)
Date: 03/28/05
- Next message: Chuck Dillon: "Re: Using make"
- Previous message: Mark McIntyre: "Re: Python docs [was: function with a state]"
- Next in thread: Chuck Dillon: "Re: Using make"
- Reply: Chuck Dillon: "Re: Using make"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Mar 2005 21:16:50 +0200
I have a c file called test.c
I have then made a Makefile that looks like this:
blop : test.c
gcc -g -Wall test.c
When I type "make test" it compiles the test.c file and generates a test
executable file. But I thought make would only look for the target (blop),
and if no such target is found it would give an error.
Why does it compile test.c when I don't have a test target in my Makefile?
JS
- Next message: Chuck Dillon: "Re: Using make"
- Previous message: Mark McIntyre: "Re: Python docs [was: function with a state]"
- Next in thread: Chuck Dillon: "Re: Using make"
- Reply: Chuck Dillon: "Re: Using make"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|