Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
114 B

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