K
K
Konstantin Kitmanov2012-04-18 14:18:37
*nix-like systems
Konstantin Kitmanov, 2012-04-18 14:18:37

Target in Makefile that matches the name of the file

The project has a Makefile that has a static target. Nearby lies a file called static.sh.
When you call make static , the goal succeeds, but a static file (identical in content to static.sh) also appears.

In general, it is approximately clear what it is and where it comes from, but how to deal with it? Apart from renaming static.sh to something else (and renaming the target in the makefile).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question