Re: [dev] Build system: redo

2021-01-03 Thread Страхиња Радић
On 21/01/03 02:38, Greg Reagle wrote: > I am in the habit of using printf rather than echo because of the drawbacks > of echo as explained in > https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo. > For > echo relinking > specifically, it doesn't matter. For > ec

Re: [dev] Build system: redo

2021-01-03 Thread Hadrien Lacour
On Sun, Jan 03, 2021 at 02:38:30PM -0500, Greg Reagle wrote: > I am in the habit of using printf rather than echo because of the drawbacks > of echo as explained in > https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo. > For > echo relinking > specifically, it doesn

Re: [dev] [dwm] Why not a seperate declaration header file ?

2021-01-03 Thread Quentin Rameau
> Hi Hi Hritik, > While editing my config.h file, my linter is going crazy because it cannot > find the declarations of the identifiers used in config.h. I was wondering > the rationale behind putting all the function declarations in the dwm.c file > itself. Wouldn't it make more sense to put

Re: [dev] Build system: redo

2021-01-03 Thread Sergey Matveev
*** Greg Reagle [2021-01-03 14:38]: >https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo Interesting! Thank you for that! Will take into account. -- Sergey Matveev (http://www.stargrave.org/) OpenPGP: CF60 E89A 5923 1E76 E263 6422 AE1A 8109 E498 57EF

Re: [dev] Build system: redo

2021-01-03 Thread Greg Reagle
On Sun, Jan 3, 2021, at 14:16, Sergey Matveev wrote: > "all" target is useful only as a default rule that is run by many > implementations by default and you have just to type "redo" to build the > program. Yes, agreed. > Everything looks good. But I am just curious: why do you use > > print

Re: [dev] Build system: redo

2021-01-03 Thread Sergey Matveev
*** Greg Reagle [2021-01-03 13:07]: >'all' targets for simplicity--I don't that they are very useful "all" target is useful only as a default rule that is run by many implementations by default and you have just to type "redo" to build the program. But of course everything is fine without it. >Pl

Re: [dev] Build system: redo

2021-01-03 Thread Greg Reagle
Thank you very much Sergey Matveev. I have studied your proposed redo files for st and learned a lot. Here are my new and improved (you had a bug in default.o.do in that you forgot to depend on $src) redo files for st. Please take a look and tell me what you think. Note that there are neithe

[dev] [dwm] Why not a seperate declaration header file ?

2021-01-03 Thread Hritik Vijay
Hi While editing my config.h file, my linter is going crazy because it cannot find the declarations of the identifiers used in config.h. I was wondering the rationale behind putting all the function declarations in the dwm.c file itself. Wouldn't it make more sense to put all of them in a dwm.h