Add Linux support, write input functions
This commit is contained in:
15
Makefile
15
Makefile
@ -1,9 +1,16 @@
|
||||
CFLAGS= -std=c99 -Wall -pedantic -Iinclude
|
||||
OUT= -o advent
|
||||
SRC= src/*.c src/2015/*.c src/2016/*.c src/2017/*.c src/2018/*.c src/2019/*.c src/2020/*.c
|
||||
CFLAGS= -std=c99 -Wall -pedantic -Iinclude -g
|
||||
LDFLAGS= ''
|
||||
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} ${SRC}
|
||||
cc ${CFLAGS} ${OUT} ${LDFLAGS} ${SRC}
|
||||
|
||||
clean:
|
||||
rm advent
|
||||
|
Reference in New Issue
Block a user