Split X-specific code into x.c

This commit is contained in:
Michael Forney 2017-01-20 00:06:39 -08:00
parent c63a87cd93
commit e2ee5ee611
6 changed files with 2167 additions and 1993 deletions

View file

@ -3,7 +3,7 @@
include config.mk
SRC = st.c
SRC = st.c x.c
OBJ = ${SRC:.c=.o}
all: options st
@ -21,6 +21,9 @@ config.h:
@echo CC $<
@${CC} -c ${CFLAGS} $<
st.o: config.h st.h win.h
x.o: arg.h st.h win.h
${OBJ}: config.h config.mk
st: ${OBJ}