07-27-2023, 12:45 AM
<br><br>
I'm learning C Programming through "Learn C the Hard Way." I have am currently on Exercise 1, which can be found here:
I understand the concept being covered, but don't understand the compiling process. While using the "make" command in the command line, why does this work:
$ make ex1
And this not work:
$ make ex1.c
I was actually just running the second command until a minute ago. I eventually figured it out though. Until I did, I kept getting this error message:
make: nothing to be done for 'ex1.c'
While this is a just a technicality, I would still like to know what's happening. Thanks :)
I'm learning C Programming through "Learn C the Hard Way." I have am currently on Exercise 1, which can be found here:
[To see links please register here]
I understand the concept being covered, but don't understand the compiling process. While using the "make" command in the command line, why does this work:
$ make ex1
And this not work:
$ make ex1.c
I was actually just running the second command until a minute ago. I eventually figured it out though. Until I did, I kept getting this error message:
make: nothing to be done for 'ex1.c'
While this is a just a technicality, I would still like to know what's happening. Thanks :)