10 lines
131 B
Makefile
10 lines
131 B
Makefile
|
CC ?= clang
|
||
|
CFLAGS = -O0 -g -Wall -Wextra
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
day_1: day_1.o
|
||
|
$(CC) -o $@ $^
|
||
|
./day_1 day_1.in
|