cmake_minimum_required(VERSION 3.20) project(aoc_2021 C) set(CMAKE_C_STANDARD 99) add_executable(aoc_2021 src/main.c src/day_1.c src/day.h src/day_2.c src/puzzle_input.c src/puzzle_input.h src/day_3.c src/day_4.c src/day_5.c src/day_6.c src/day_7.c) target_link_libraries(aoc_2021 m)