by leggomylibro · 7y ago · 0 comments
AS_SRC = main.S util.s
OBJ = $(AS_SRC: .S=.o)
[...]
clean:
rm -f $(OBJ)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.