URI:
       tAdd config.mk - ltk - Socket-based GUI for X11 (WIP)
  HTML git clone git://lumidify.org/ltk.git (fast, but not encrypted)
  HTML git clone https://lumidify.org/git/ltk.git (encrypted, but very slow)
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit c2f5daed6266253ce6b97e240d74fa9a51972bd4
   DIR parent 45a81e6815c39ab33771710a6b87578c5ff1a7ca
  HTML Author: lumidify <nobody@lumidify.org>
       Date:   Sun,  7 Jun 2020 12:05:43 +0200
       
       Add config.mk
       
       Diffstat:
         M Makefile                            |      10 +++-------
         M README.md                           |       2 +-
         A config.mk                           |      11 +++++++++++
       
       3 files changed, 15 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       t@@ -1,13 +1,9 @@
       -LIBS = -lm `pkg-config --libs x11 fontconfig`
       -STD = -std=c99
       -CFLAGS = -g -w -fcommon -Wall -Werror -Wextra `pkg-config --cflags x11 fontconfig` -pedantic
       +include config.mk
       +
        OBJ = text_line.o text_common.o stb_truetype.o ltk.o ini.o grid.o button.o draw.o
       -COMPATOBJ = 
       -# Uncomment if not using OpenBSD
       -#COMPATOBJ = strtonum.o
        
        ltk: $(OBJ) $(COMPATOBJ)
       -        $(CC) $(STD) -o $@ $(OBJ) $(COMPATOBJ) $(LIBS)
       +        $(CC) -o $@ $(OBJ) $(COMPATOBJ) $(LDFLAGS)
        
        %.o: %.c
                $(CC) -c -o $@ $< $(CFLAGS)
   DIR diff --git a/README.md b/README.md
       t@@ -7,5 +7,5 @@ make
        ./ltk < test_draw.gui
        ./test_anim.sh | ./ltk (this requires sleep(1) to support fractional seconds)
        
       -Note: you need to uncomment "COMPATOBJ = strtonum.c" in Makefile
       +Note: you need to uncomment "COMPATOBJ = strtonum.c" in config.mk
        if you're not using OpenBSD.
   DIR diff --git a/config.mk b/config.mk
       t@@ -0,0 +1,11 @@
       +VERSION = -999
       +
       +CFLAGS = -g -std=c99 -w -fcommon -Wall -Werror -Wextra `pkg-config --cflags x11 fontconfig` -pedantic
       +LDFLAGS = -lm `pkg-config --libs x11 fontconfig`
       +
       +# OpenBSD
       +COMPATOBJ = 
       +# Non-OpenBSD
       +#COMPATOBJ = strtonum.o
       +
       +CC = cc