summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-13 21:56:35 -0500
committerJune McEnroe <june@causal.agency>2019-01-13 21:56:35 -0500
commit0656cf1179030382b8627262f6d87efdd64a4f72 (patch)
tree5cd36d1f35932c8d01fb59324c9bba621239df4c /bin
parentShow full path in RPS1 (diff)
downloadsrc-0656cf1179030382b8627262f6d87efdd64a4f72.tar.gz
src-0656cf1179030382b8627262f6d87efdd64a4f72.zip
Enable warnings in libedit
Diffstat (limited to '')
-rw-r--r--bin/cash/libedit/.gitignore1
-rw-r--r--bin/cash/libedit/Makefile4
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/cash/libedit/.gitignore b/bin/cash/libedit/.gitignore
index 521814bf..eeae3b81 100644
--- a/bin/cash/libedit/.gitignore
+++ b/bin/cash/libedit/.gitignore
@@ -1,5 +1,6 @@
 *.o
 common.h
+config.mk
 emacs.h
 fcns.h
 func.h
diff --git a/bin/cash/libedit/Makefile b/bin/cash/libedit/Makefile
index 8f7a1c03..9b13d59d 100644
--- a/bin/cash/libedit/Makefile
+++ b/bin/cash/libedit/Makefile
@@ -1,3 +1,7 @@
+CFLAGS += -std=c99 -Wall -Wextra
+
+-include config.mk
+
 OBJS += chared.o
 OBJS += chartype.o
 OBJS += common.o