sdiagram

Simple diagram tool — suckless-style node graph editor
git clone git clone https://git.krisyotam.com/krisyotam/sdiagram.git
Log | Files | Refs | LICENSE

config.mk (443B)


      1 # sdiagram - simple diagram tool
      2 # See LICENSE file for copyright and license details.
      3 
      4 VERSION = 0.1
      5 
      6 PREFIX = /usr/local
      7 MANPREFIX = ${PREFIX}/share/man
      8 
      9 PKG_CONFIG = pkg-config
     10 
     11 GTK4_CFLAGS = $(shell ${PKG_CONFIG} --cflags gtk4)
     12 GTK4_LIBS = $(shell ${PKG_CONFIG} --libs gtk4)
     13 
     14 INCS = ${GTK4_CFLAGS}
     15 LIBS = ${GTK4_LIBS} -lsqlite3 -lm
     16 
     17 CC = cc
     18 CFLAGS = -std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -pedantic -O2 ${INCS}
     19 LDFLAGS = ${LIBS}