From 3f7a43bd34dcb12b65feeb02c788813f22d41704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Fri, 31 Mar 2023 21:09:01 +0200 Subject: [PATCH] Partial static compilation. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c068f5c..1c6e903 100644 --- a/Makefile +++ b/Makefile @@ -53,17 +53,17 @@ BBSTOOL-SOURCES=bbstool.scm testing.scm listing.scm dictionary.scm \ members-dir.scm csv-simple.scm bank-account.scm bank-fio.scm \ members-payments.scm -BBSTOOL-OBJS=testing.o listing.o month.o period.o ansi.o dictionary.o \ - command-line.o members-base.o utils.o primes.o \ +BBSTOOL-OBJS=bbstool.o testing.o listing.o month.o period.o ansi.o \ + dictionary.o command-line.o members-base.o utils.o primes.o \ member-record.o configuration.o progress.o table.o cards.o \ members-print.o member-fees.o members-dir.o csv-simple.o \ - bank-account.o bank-fio.o members-payments.o + bank-account.o bank-fio.o members-payments.o member-parser.o .PHONY: imports imports: $(BBSTOOL-DEPS) -bbstool: $(BBSTOOL-DEPS) - $(CSC) -static -o $@ $(BBSTOOL-SOURCES) +bbstool: $(BBSTOOL-OBJS) + $(CSC) -static -o $@ $(BBSTOOL-OBJS) .PHONY: clean clean: @@ -73,7 +73,7 @@ clean: # Module static and shared object and import source compilation %.o: %.scm - $(CSC) -c $< + $(CSC) -c -static $< %.import.scm: %.scm rm -f $@