summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2022-12-31 16:35:12 -0500
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2022-12-31 16:35:12 -0500
commit8029cd7933b4904c4bb0f13012515e9c9c2ab435 (patch)
treefb832cae42ef2b1e347f110bef176e413011216c /Makefile
parent7c6ef5232de8d31a10e593882c29189c05296541 (diff)
downloadst-8029cd7933b4904c4bb0f13012515e9c9c2ab435.tar.gz
Added ligatures patch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6dfa212..795039a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
include config.mk
-SRC = st.c x.c boxdraw.c
+SRC = st.c x.c boxdraw.c hb.c
OBJ = $(SRC:.c=.o)
all: options st
@@ -22,8 +22,9 @@ config.h:
$(CC) $(STCFLAGS) -c $<
st.o: config.h st.h win.h
-x.o: arg.h config.h st.h win.h
+x.o: arg.h config.h st.h win.h hb.h
boxdraw.o: config.h st.h boxdraw_data.h
+hb.o: st.h
$(OBJ): config.h config.mk
@@ -31,7 +32,7 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
- rm -f st $(OBJ) st-$(VERSION).tar.gz
+ rm -f st $(OBJ) st-$(VERSION).tar.gz config.h .o
dist: clean
mkdir -p st-$(VERSION)