Kobi T Kobi T - 1 year ago 83
C Question

Makefile - behavior without additional arguments

How can I define the behavior of running

with no additional arguments?

I tried to do something like:


In order to run
in case of running
without arguments but I get the following error:
Makefile:5: *** missing separator. Stop.

Answer Source

Your makefile should look something as below:

    @echo Running test program
    @echo program ended..

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download