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)
../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