logo

adventofcode

Code used to solve https://adventofcode.com/, one branch per year git clone https://hacktivis.me/git/adventofcode.git

Makefile (205B)


  1. .POSIX:
  2. EXE = day1
  3. CFLAGS = -std=c99 -lm -Wall -Wextra -D_POSIX_C_SOURCE=200809L
  4. all: $(EXE)
  5. .PHONY: clean
  6. clean:
  7. rm $(EXE)
  8. format: *.c
  9. clang-format -style=file -assume-filename=.clang-format -i *.c