dag

Djmoch's Auto Generator
git clone git://git.danielmoch.com/dag.git
Log | Files | Refs | README | LICENSE

config.mk (768B)


      1 # See LICENSE file for copyright and license details
      2 PREFIX := /usr/local
      3 MANPATH := ${PREFIX}/share/man
      4 
      5 SHDRS = dagfile.h \
      6 	db.h \
      7 	html.h \
      8 	string.h \
      9 	term.h \
     10 	xml.h
     11 
     12 HDRS = ${SHDRS} \
     13 	y.tab.h
     14 
     15 DSRC = dag.c \
     16 	dagfile.c \
     17 	string.c \
     18 	y.tab.c \
     19 	lex.yy.c
     20 
     21 ISRC = dagindex.c \
     22 	db.c \
     23 	html.c \
     24 	string.c \
     25 	term.c \
     26 	xml.c
     27 
     28 DIST_SRC = dag.c \
     29 	dagfile.c \
     30 	string.c \
     31 	dagindex.c \
     32 	db.c \
     33 	html.c \
     34 	string.c \
     35 	string_test.c \
     36 	term.c \
     37 	xml.c \
     38 	dag.1 \
     39 	dagindex.1 \
     40 	dagfile.5 \
     41 	Makefile \
     42 	README \
     43 	config.mk \
     44 	parse.y \
     45 	parse.l \
     46 	${SHDRS}
     47 
     48 DOBJ = ${DSRC:.c=.o}
     49 IOBJ = ${ISRC:.c=.o}
     50 LIBS = -ll -ly
     51 VERSION = 0.1.0dev0
     52 
     53 CPPFLAGS := -DVERSION=\"${VERSION}\"
     54 CFLAGS := -std=c99 -pedantic-errors -Wall -Wextra -Werror -O0 -g -c -pipe
     55 LDFLAGS := ${LIBS}