From eb85c6df72d4388cc6823ae6ef2b023f3e4b69ef Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 21 Mar 2011 14:35:07 -0400 Subject: sanitize build sys --- Makefile | 2 +- config.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 026108f..d928fda 100644 --- a/Makefile +++ b/Makefile @@ -30,5 +30,5 @@ dist: clean rm -rf expac-${VERSION} clean: - $(RM) ${OBJ} expac expac.1 + ${RM} ${OBJ} expac expac.1 diff --git a/config.mk b/config.mk index 1517b5c..26cf63d 100644 --- a/config.mk +++ b/config.mk @@ -6,7 +6,7 @@ PREFIX ?= /usr/local MANPREFIX ?= ${PREFIX}/share/man # compiler flags -CC = c99 -CPPFLAGS = -DVERSION=\"${VERSION}\" ${PMCHECK} -CFLAGS += -g -pedantic -Wall -Wextra ${CPPFLAGS} +CC ?= c99 +CPPFLAGS += -DVERSION=\"${VERSION}\" ${PMCHECK} +CFLAGS += -std=c99 -g -pedantic -Wall -Wextra ${CPPFLAGS} LDFLAGS += -lalpm -- cgit v1.2.3-70-g09d2