stac

simple static site generator
git clone git://git.kocotian.pl/stacinhtml.git
Log | Files | Refs | README | LICENSE

config.mk (441B)


      1 # basics
      2 MAJORVERSION = 1
      3 SUBVERSION   = 0
      4 PATCHLEVEL   = 0
      5 BUILDNAME    = vanilla
      6 
      7 VERSION = ${MAJORVERSION}.${SUBVERSION}.${PATCHLEVEL}-${BUILDNAME}
      8 
      9 # directories (KEEP TRAILING SLASH!)
     10 INDIR = in/
     11 METADIR = meta/
     12 OUTDIR = out/
     13 
     14 # flags
     15 CFLAGS   = -std=c99 -Wall -Wextra -pedantic -Ofast -Iinclude -I.
     16 CPPFLAGS = -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\"
     17 LDFLAGS  = -Ofast -static
     18 CCFLAGS  = ${CFLAGS} ${CPPFLAGS}
     19 
     20 # compiler
     21 CC = gcc