dag

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

commit 2f3175c23154232f24da8bd23dc402f42850d8ee
parent 6df0c4c09aee0623d4949b14555c0168b65d268b
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun, 18 Sep 2022 06:23:59 -0400

config.mk: Add feature test macro; define CC

Diffstat:
Mconfig.mk | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk @@ -1,4 +1,5 @@ # See LICENSE file for copyright and license details +VERSION = 0.1.0-dev0 PREFIX := /usr/local MANPATH := ${PREFIX}/share/man @@ -48,8 +49,9 @@ DIST_SRC = dag.c \ DOBJ = ${DSRC:.c=.o} IOBJ = ${ISRC:.c=.o} LIBS = -ll -ly -VERSION = 0.1.0dev0 -CPPFLAGS := -DVERSION=\"${VERSION}\" +CPPFLAGS := -DVERSION=\"${VERSION}\" -D_BSD_SOURCE CFLAGS := -std=c99 -pedantic-errors -Wall -Wextra -Werror -O0 -g -c -pipe LDFLAGS := ${LIBS} + +CC = cc