[25c176]: contrib / vanilla-module.mk Maximize Restore History

Download this file

vanilla-module.mk    16 lines (11 with data), 470 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
FASL=$(DEST)/$(MODULE).fasl
ASD=$(DEST)/$(MODULE).asd
fasl:: $(FASL)
$(FASL):: $(MODULE).lisp ../../output/sbcl.core
$(SBCL) --eval '(compile-file (format nil "SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "$(MODULE)" "$(MODULE)") :output-file (parse-native-namestring "$@"))' </dev/null
$(ASD)::
echo "(defsystem :$(MODULE) :class require-system)" > $@
test:: $(FASL) $(ASD)
install:
cp $(FASL) $(ASD) "$(BUILD_ROOT)$(INSTALL_DIR)"