summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-21 14:35:07 -0400
committerDave Reisner <d@falconindy.com>2011-03-21 14:35:07 -0400
commiteb85c6df72d4388cc6823ae6ef2b023f3e4b69ef (patch)
treeb4bb53c93294cbfc12fe20f9415bb88514f23b04
parentfb09c25368341dff53c64a1753f5835d0dac6058 (diff)
downloadexpac-eb85c6df72d4388cc6823ae6ef2b023f3e4b69ef.tar.xz
sanitize build sys
-rw-r--r--Makefile2
-rw-r--r--config.mk6
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