Better stripping and regeneration.

This commit is contained in:
Dominik Pantůček 2023-04-12 22:42:30 +02:00
parent 503fbcd574
commit b5ba10cf4c

View file

@ -55,8 +55,7 @@ HACKERBASE-OBJS=hackerbase.o testing.o listing.o month.o period.o \
imports: $(HACKERBASE-DEPS) imports: $(HACKERBASE-DEPS)
../hackerbase: $(HACKERBASE-OBJS) ../hackerbase: $(HACKERBASE-OBJS)
$(CSC) -static -o $@ $(HACKERBASE-OBJS) $(CSC) -strip -static -o $@ $(HACKERBASE-OBJS)
strip $@
.PHONY: clean .PHONY: clean
clean: clean:
@ -73,8 +72,7 @@ install: static
$(CSC) -c -static $< $(CSC) -c -static $<
%.import.scm: %.scm %.import.scm: %.scm
@rm -f $@ $(CSC) -regenerate-import-libraries -P -J $<
$(CSC) -P -J $<
################################################################ ################################################################
# Main program # Main program