summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/cash/.gitignore1
-rw-r--r--bin/cash/Makefile59
2 files changed, 31 insertions, 29 deletions
diff --git a/bin/cash/.gitignore b/bin/cash/.gitignore
index dc34782b..674a2ed5 100644
--- a/bin/cash/.gitignore
+++ b/bin/cash/.gitignore
@@ -2,6 +2,7 @@
 builtins.c
 builtins.h
 cash
+config.mk
 mknodes
 mksyntax
 nodes.c
diff --git a/bin/cash/Makefile b/bin/cash/Makefile
index 30a3d22d..8d032dea 100644
--- a/bin/cash/Makefile
+++ b/bin/cash/Makefile
@@ -1,39 +1,40 @@
 CFLAGS += -std=c99 -Wall -Wextra -DSHELL
 LDLIBS = -ledit
 
-SHSRCS += alias.c
-SHSRCS += arith_yacc.c
-SHSRCS += arith_yylex.c
-SHSRCS += cd.c
-SHSRCS += echo.c
-SHSRCS += error.c
-SHSRCS += eval.c
-SHSRCS += exec.c
-SHSRCS += expand.c
-SHSRCS += histedit.c
-SHSRCS += input.c
-SHSRCS += jobs.c
-SHSRCS += kill.c
-SHSRCS += mail.c
-SHSRCS += main.c
-SHSRCS += memalloc.c
-SHSRCS += miscbltin.c
-SHSRCS += mystring.c
-SHSRCS += options.c
-SHSRCS += output.c
-SHSRCS += parser.c
-SHSRCS += printf.c
-SHSRCS += redir.c
-SHSRCS += show.c
-SHSRCS += test.c
-SHSRCS += trap.c
-SHSRCS += var.c
+-include config.mk
+
+OBJS += alias.o
+OBJS += arith_yacc.o
+OBJS += arith_yylex.o
+OBJS += cd.o
+OBJS += echo.o
+OBJS += error.o
+OBJS += eval.o
+OBJS += exec.o
+OBJS += expand.o
+OBJS += histedit.o
+OBJS += input.o
+OBJS += jobs.o
+OBJS += kill.o
+OBJS += mail.o
+OBJS += main.o
+OBJS += memalloc.o
+OBJS += miscbltin.o
+OBJS += mystring.o
+OBJS += options.o
+OBJS += output.o
+OBJS += parser.o
+OBJS += printf.o
+OBJS += redir.o
+OBJS += show.o
+OBJS += test.o
+OBJS += trap.o
+OBJS += var.o
 
 GENSRCS = builtins.c nodes.c syntax.c
 GENHDRS = builtins.h nodes.h syntax.h token.h
 
-SRCS = $(SHSRCS) $(GENSRCS)
-OBJS = $(SRCS:.c=.o)
+OBJS += $(GENSRCS:.c=.o)
 
 cash: $(OBJS)
 	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
r incrementsJune McEnroe 2021-02-07Fix cwm window cycling, move big by defaultJune McEnroe 2021-02-07Use class names for Foreground, Background, BorderColorJune McEnroe 2021-02-07Add simple battery status and clock to xsessionJune McEnroe 2021-02-07Set cursor theme and sizeJune McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe