logo

adventofcode

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

Makefile (247B)


  1. # SPDX-FileCopyrightText: 2025 Haelwenn (lanodan) Monnier
  2. # SPDX-License-Identifier: BSD-3-Clause
  3. CC ?= cc
  4. CFLAGS ?= -g -Wall -Wextra
  5. .c:
  6. $(CC) -std=c11 $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDSTATIC)
  7. all: day1 day1_2
  8. day1: day1.c
  9. day1_2: day1_2.c