2021-10-17 10:37:48 +02:00
|
|
|
CC := gcc
|
2021-10-18 23:05:15 +02:00
|
|
|
LIBS := libadwaita-1 gtk4 libsoup-2.4 libxml-2.0 libpcre2-8
|
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-27 23:59:44 +02:00
|
|
|
${CC_COMMAND} src/manga.c src/backend/readmng.c manga.c main.c -o main ${LDFLAGS} -ggdb
|