Refactoring Makefile and config.mk to make it easier to enable patches such as the ligatures patch and the sixel patch
This commit is contained in:
parent
1a1d492cd8
commit
e139d1fd75
3 changed files with 12 additions and 13 deletions
9
Makefile
9
Makefile
|
|
@ -4,13 +4,6 @@
|
|||
|
||||
include config.mk
|
||||
|
||||
# Uncomment the line below and the hb.o line further down for the ligatures patch
|
||||
#LIGATURES_C = hb.c
|
||||
#LIGATURES_H = hb.h
|
||||
|
||||
# Uncomment this for the SIXEL patch / SIXEL_PATCH
|
||||
#SIXEL_C = sixel.c sixel_hls.c
|
||||
|
||||
SRC = st.c x.c $(LIGATURES_C) $(SIXEL_C)
|
||||
OBJ = $(SRC:.c=.o)
|
||||
|
||||
|
|
@ -33,8 +26,6 @@ patches.h:
|
|||
|
||||
st.o: config.h st.h win.h
|
||||
x.o: arg.h config.h st.h win.h $(LIGATURES_H)
|
||||
# Uncomment the below line for the ligatures patch
|
||||
#hb.o: st.h
|
||||
|
||||
$(OBJ): config.h config.mk patches.h
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue