Cleanup static dependencies.
This commit is contained in:
parent
9a1bd70c36
commit
f4f6255b84
1 changed files with 8 additions and 11 deletions
19
src/Makefile
19
src/Makefile
|
@ -27,7 +27,7 @@
|
|||
default: imports
|
||||
|
||||
.PHONY: static
|
||||
static: bbstool
|
||||
static: ../bbstool
|
||||
|
||||
CSC=csc
|
||||
|
||||
|
@ -42,14 +42,6 @@ BBSTOOL-DEPS=bbstool.scm testing.import.scm listing.import.scm \
|
|||
csv-simple.import.scm bank-account.import.scm \
|
||||
bank-fio.import.scm members-payments.import.scm
|
||||
|
||||
BBSTOOL-SOURCES=bbstool.scm testing.scm listing.scm dictionary.scm \
|
||||
month.scm period.scm ansi.scm command-line.scm \
|
||||
members-base.scm utils.scm primes.scm member-record.scm \
|
||||
configuration.scm progress.scm table.scm cards.scm \
|
||||
members-print.scm member-parser.scm member-fees.scm \
|
||||
members-dir.scm csv-simple.scm bank-account.scm bank-fio.scm \
|
||||
members-payments.scm
|
||||
|
||||
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 \
|
||||
|
@ -59,12 +51,12 @@ BBSTOOL-OBJS=bbstool.o testing.o listing.o month.o period.o ansi.o \
|
|||
.PHONY: imports
|
||||
imports: $(BBSTOOL-DEPS)
|
||||
|
||||
bbstool: $(BBSTOOL-OBJS)
|
||||
../bbstool: $(BBSTOOL-OBJS)
|
||||
$(CSC) -static -o $@ $(BBSTOOL-OBJS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f *.c *.link *.o *.import.scm bbstool
|
||||
rm -f *.c *.link *.o *.import.scm ../bbstool
|
||||
|
||||
################################################################
|
||||
# Module static and shared object and import source compilation
|
||||
|
@ -76,6 +68,11 @@ clean:
|
|||
rm -f $@
|
||||
$(CSC) -P -J $<
|
||||
|
||||
################################################################
|
||||
# Main program
|
||||
|
||||
bbstool.o: $(BBSTOOL-DEPS)
|
||||
|
||||
################################################################
|
||||
# Modules
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue