Split X-specific code into x.c
This commit is contained in:
parent
c63a87cd93
commit
e2ee5ee611
6 changed files with 2167 additions and 1993 deletions
5
Makefile
5
Makefile
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue