stacinhtml

Static C in HTML - simple static site generator
git clone git://git.kocotian.pl/stacinhtml.git
Log | Files | Refs | README | LICENSE

config.mk (485B)


      1 # basics
      2 MAJORVERSION = 0
      3 SUBVERSION   = 2
      4 PATCHLEVEL   = 3
      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 TEMPLATEDIR = templates/
     14 
     15 # flags
     16 CFLAGS   = -std=c99 -Wall -Wextra -pedantic -Ofast
     17 CPPFLAGS = -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" -DTEMPLATEDIR=\"${TEMPLATEDIR}\"
     18 LDFLAGS  = -Ofast -static
     19 CCFLAGS  = ${CFLAGS} ${CPPFLAGS}
     20 
     21 # compiler
     22 CC = gcc