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
commit85ff6ddcda49935061e1c9be591aa99e5541baee (patch)
tree384f3c76c0281812dfad8f06d051ef5277b2e231 /bin
parentShow full path in RPS1 (diff)
downloadsrc-85ff6ddcda49935061e1c9be591aa99e5541baee.tar.gz
src-85ff6ddcda49935061e1c9be591aa99e5541baee.zip
Enable warnings in libedit
Diffstat (limited to 'bin')
-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