Learning by doing: Reading books and trying to understand the (code) examples

9 lines
104 B

  1. SRC := $(shell ls *.c)
  2. %: %.c
  3. gcc -std=c11 -Wall -Wextra $@.c -o $@
  4. .PHONY: clean
  5. clean:
  6. @rm -f ??