From: Sergey Matveev Date: Sun, 18 Feb 2024 15:39:51 +0000 (+0300) Subject: Optimisations X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=HEAD;p=st.git Optimisations --- diff --git a/Makefile b/Makefile index 15db421..2dd11d6 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ config.h: cp config.def.h config.h .c.o: - $(CC) $(STCFLAGS) -c $< + $(CC) -O3 $(STCFLAGS) -c $< st.o: config.h st.h win.h x.o: arg.h config.h st.h win.h @@ -21,7 +21,7 @@ x.o: arg.h config.h st.h win.h $(OBJ): config.h config.mk st: $(OBJ) - $(CC) -o $@ $(OBJ) $(STLDFLAGS) + $(CC) -s -o $@ $(OBJ) $(STLDFLAGS) clean: rm -f st $(OBJ) st-$(VERSION).tar.gz