From b5ba10cf4c39b994f8b817e0fc7eedfd931ea3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Wed, 12 Apr 2023 22:42:30 +0200 Subject: [PATCH] Better stripping and regeneration. --- src/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index b95049e..676c4b7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -55,8 +55,7 @@ HACKERBASE-OBJS=hackerbase.o testing.o listing.o month.o period.o \ imports: $(HACKERBASE-DEPS) ../hackerbase: $(HACKERBASE-OBJS) - $(CSC) -static -o $@ $(HACKERBASE-OBJS) - strip $@ + $(CSC) -strip -static -o $@ $(HACKERBASE-OBJS) .PHONY: clean clean: @@ -73,8 +72,7 @@ install: static $(CSC) -c -static $< %.import.scm: %.scm - @rm -f $@ - $(CSC) -P -J $< + $(CSC) -regenerate-import-libraries -P -J $< ################################################################ # Main program