X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=Makefile;h=d8595fe9df10663618e294ce0d1db5e617d6a8bf;hb=e7ed326d2e914a57017c9f34459824614075519b;hp=fb026c464b61186325cfd923f44c9cc1b87afb5d;hpb=3ca7249c8685a9ff2d8ce23273fe0313b5804473;p=st.git diff --git a/Makefile b/Makefile index fb026c4..d8595fe 100644 --- a/Makefile +++ b/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}