summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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