2021-10-17 10:37:48 +02:00
|
|
|
CC := gcc
|
2021-10-28 22:26:59 +02:00
|
|
|
LIBS := libadwaita-1 gtk4 libsoup-2.4 libxml-2.0 libpcre2-8 gio-2.0
|
2021-10-17 10:37:48 +02:00
|
|
|
INCDIR := -I ./include
|
|
|
|
CFLAGS := $(shell pkg-config --cflags ${LIBS}) -Wall
|
|
|
|
LDFLAGS := $(shell pkg-config --libs ${LIBS})
|
|
|
|
CC_COMMAND := ${CC} ${INCDIR} ${CFLAGS}
|
|
|
|
all: build
|
|
|
|
build:
|
2021-10-31 15:32:18 +01:00
|
|
|
${CC_COMMAND} src/util/regex.c src/util/string.c src/util/xml.c src/util/soup.c src/view/list_view_manga.c src/view/main_view.c src/manga.c src/backend/readmng.c src/main.c -o main ${LDFLAGS} -ggdb
|