sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

597
active users

#make

3 posts3 participants0 posts today

General #programming question I've never thought of before: How does #Make know to recompile source codes that have changed? I can make an edit to a source, run my make command to build and link the executable, and it'll only change that specific object file, without me having to do anything. How does it know to do that?
#cpp #gnu #linux

Replied in thread

@ska

The 2018 Single Unix Specification has a quite restrictive list of what characters can be in a target, and semi-colon is not in the list. Per the letter of the SUS, semi-colon would have to be positively documented as an implementation-defined extension for it to be legal in a target name.

Does the GNU make doco explicitly allow semi-colon? BSD make apparently does not. It adds shell metacharacters, but no semi-colon.

Continued thread

I also got experience with the following (5 = a lot, 1 = a little) :

#machinelearning #ml (3) (I have implemented some ML models myself in the past, for learning purposes.)
#guix (3) (Using it for reproducible setups of projects.)
#functionalprogramming #fp (5) (Doing it in my own projects.)
#objectorientedprogramming #oop (4) (last job and past xp in my own projects.)
#CI / #CD (3) (Last job)
#make (4) (using it for my own project setups and convenience)
#testing (4) (last job, own projects)