News for hackers. Stuff that matters.
Re:Advice to my younger self: become allergic to the churn by leggomylibro on Thursday August 08, 2019 @09:44AM (#20644469)
Sometimes you can make mistakes which delete files, but you should keep development files backed up in some capacity. Still, spot the bug here:

    AS_SRC = main.S util.s
    OBJ = $(AS_SRC: .S=.o)
    [...]
    clean:
        rm -f $(OBJ)
Re:Advice to my younger self: become allergic to the churn by kd5bjo on Thursday August 08, 2019 @09:54AM (#20644563)
The source files with a lower-case extension aren’t getting their file names translated and are passed straight through into OBJ unchanged.

Granted, knowing that there’s an error here helped greatly in spotting it; there’s a good chance I would have run the incorrect makefile at least once before investigating.

Re:Advice to my younger self: become allergic to the churn by rootlocus on Thursday August 08, 2019 @09:48AM (#20644504)
Whatever the bug, git reset is the solution.