Makefile 198 B

1234567891011121314151617
  1. .PHONY: all clean
  2. CC := gcc
  3. CFLAGS := -O3 -std=c99 -Wall -Wextra
  4. tools := scan_includes gfx pkmncompress
  5. all: $(tools)
  6. @:
  7. clean:
  8. rm -f $(tools)
  9. gfx: common.h
  10. %: %.c
  11. $(CC) $(CFLAGS) -o $@ $<