Add Linux support, write input functions
This commit is contained in:
16
GNUmakefile
Normal file
16
GNUmakefile
Normal file
@ -0,0 +1,16 @@
|
||||
CFLAGS= -std=c99 -Wall -pedantic -Iinclude -g
|
||||
LDFLAGS= -lbsd
|
||||
OUT= -o advent
|
||||
SRC= src/*.c \
|
||||
src/2015/*.c \
|
||||
src/2016/*.c \
|
||||
src/2017/*.c \
|
||||
src/2018/*.c \
|
||||
src/2019/*.c \
|
||||
src/2020/*.c
|
||||
|
||||
all:
|
||||
cc ${CFLAGS} ${OUT} ${LDFLAGS} ${SRC}
|
||||
|
||||
clean:
|
||||
rm advent
|
Reference in New Issue
Block a user