Split clean target up into clean and clean-all in Makefile

This commit is contained in:
Jeremy Baxter 2023-07-31 12:36:00 +12:00
parent 84f58824b9
commit e18cf6e588

View file

@ -52,6 +52,7 @@ clean:
rm -f csto libcallisto.so ${OBJS} ${LIBS}
rm -fr include
rm -fr doc/*.html doc/modules
clean-all: clean
${MAKE} -s -Clua-5.4 clean
${MAKE} -s -Cexternal/json clean
${MAKE} -s -Cexternal/socket clean
@ -69,4 +70,4 @@ install:
cp -fR include/callisto "${DESTDIR}${PREFIX}"/include
cp -f libcallisto.so "${DESTDIR}${PREFIX}"/lib
.PHONY: all clean doc install
.PHONY: all clean clean-all doc install