# # Makefile # # Building the binary from sources. # # ISC License # # Copyright 2023 Brmlab, z.s. # Dominik Pantůček # # Permission to use, copy, modify, and/or distribute this software # for any purpose with or without fee is hereby granted, provided # that the above copyright notice and this permission notice appear # in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL # WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE # AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # .PHONY: all all: testing.so testing.import.scm listing.so listing.import.scm \ month.so month.import.scm period.so period.import.scm \ ansi.so ansi.import.scm member-file.so \ member-file.import.scm dictionary.so \ dictionary.import.scm ################################################################ # Module shared object and import source compilation %.so: %.scm csc -s $< %.import.scm: %.scm csc -J $< ################################################################ # Modules testing.so: testing.scm testing.import.scm: testing.scm listing.so: listing.scm listing.import.scm: listing.scm dictionary.so: dictionary.scm dictionary.import.scm: dictionary.scm month.so: month.scm month.import.scm: month.scm period.so: period.scm period.import.scm: period.scm ansi.so: ansi.scm ansi.import.scm: ansi.scm member-file.so: member-file.scm dictionary.import.scm ansi.import.scm member-file.import.scm: member-file.scm dictionary.import.scm ansi.import.scm