Hi, 2016-01-08 4:08 GMT+01:00, Greg Reagle <greg.rea...@umbc.edu>: > On Thu, Jan 07, 2016 at 05:22:38PM -0800, Louis Santillan wrote: >> Do mean something like this in a makefile? Essentially adding a >> `./$@` to end of `dwm` target: > > I tried it and it does not seem to be a solution. If dwm is up to date, > Make won't run the recipe and ./$@ won't be run. So you have to use 'make > dwm; ./dwm' every time, in which case, there is no need to modify the > Makefile. > >
Don't know if you solved alternatively but... You can add the target to .PHONY.