X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fvanilla-module.mk;h=01396f8e5a50a9a4c4cc8ffc121f8efbebc1063d;hb=54da325f13fb41669869aea688ae195426c0e231;hp=b2e5881359e1e5f36ff2e451d2a5b9c4936f8272;hpb=6ffb09605de7f990332aee146d8f69ba4cc907c9;p=sbcl.git diff --git a/contrib/vanilla-module.mk b/contrib/vanilla-module.mk index b2e5881..01396f8 100644 --- a/contrib/vanilla-module.mk +++ b/contrib/vanilla-module.mk @@ -1,8 +1,15 @@ +DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/ +FASL=$(DEST)/$(MODULE).fasl +ASD=$(DEST)/$(MODULE).asd -$(MODULE).fasl: $(MODULE).lisp ../../output/sbcl.core - $(SBCL) --eval '(compile-file (format nil "SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "$(MODULE)" "$(MODULE)"))' $@ + +test:: $(FASL) $(ASD) install: - cp $(MODULE).fasl $(BUILD_ROOT)$(INSTALL_DIR) + cp $(FASL) $(ASD) "$(BUILD_ROOT)$(INSTALL_DIR)"