Work on static linkage.
This commit is contained in:
parent
dbb7ab7fd8
commit
1a6f339d9d
2 changed files with 17 additions and 7 deletions
20
Makefile
20
Makefile
|
@ -23,10 +23,20 @@
|
|||
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#
|
||||
|
||||
brmsaptool: brmsaptool.o testing.o listing.o month.o period.o ansi.o \
|
||||
member-file.o dictionary.o command-line.o \
|
||||
.PHONY: all
|
||||
all: brmsaptool brmsaptool-static
|
||||
|
||||
CSC=csc
|
||||
|
||||
BRMSAPTOOL-SOURCES=brmsaptool.o testing.o listing.o month.o period.o \
|
||||
ansi.o member-file.o dictionary.o command-line.o \
|
||||
members-base.o utils.o
|
||||
csc -o brmsaptool $^
|
||||
|
||||
brmsaptool: $(BRMSAPTOOL-SOURCES)
|
||||
$(CSC) -o $@ $^
|
||||
|
||||
brmsaptool-static: brmsaptool.scm $(BRMSAPTOOL-SOURCES)
|
||||
$(CSC) -static -o $@ $<
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
@ -36,10 +46,10 @@ clean:
|
|||
# Module shared object and import source compilation
|
||||
|
||||
%.o: %.scm
|
||||
csc -c $<
|
||||
$(CSC) -c $<
|
||||
|
||||
%.import.scm: %.scm
|
||||
csc -c -J $<
|
||||
$(CSC) -c -J $<
|
||||
|
||||
################################################################
|
||||
# Modules
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
(-mfkw () "Member-File invalid Key Warning" (*member-file-check-syntax* 'warning))
|
||||
(-mfkq () "Member-File invalid Key Quiet" (*member-file-check-syntax* 'quiet))
|
||||
(-mfec (n) "Member-File parser Error Context (lines)" (*member-file-context* (string->number n)))
|
||||
(-mi (id) "Specif member by id" (-member-id- (string->number id)))
|
||||
(-mi (id) "Specify member by id" (-member-id- (string->number id)))
|
||||
(-mn (nick) "Specify member by nick" (-member-nick- nick))
|
||||
)
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
(define mr (if (-member-id-)
|
||||
(find-member-by-id MB (-member-id-))
|
||||
(if (-member-nick-)
|
||||
(find-member-by-nick (-member-nick-))
|
||||
(find-member-by-nick MB (-member-nick-))
|
||||
#f)))
|
||||
|
||||
;; ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue