PlasmaLang / plasma

Plasma Programming Language
Other
162 stars 10 forks source link

Prevent Make from accepting implicit targets. #437

Closed PaulBone closed 2 years ago

PaulBone commented 2 years ago

make tests (which refers to a directory) can lead to a silent error when someone meant to type make test which is a target in our Makefile.

AlaskanEmily — Today at 09:22 Both GNU and BSD make let you totally disable all implicit targets and rules Which I do for basically all my projects pbone — Today at 09:22 That's a good idea. AlaskanEmily — Today at 09:23 For BSD it's -r, I forget what for GNU make, and add .SUFFIXES: to the start of the makefile