![Jan Nieuwenhuizen](/assets/img/avatar_default.png)
Fix typo in configure, gracefully switch between M0 vs M1, skip CC32/i686-unknown-linux-gnu-gcc targets if not available, esp. for non-Guix usage. * configure (M1): Declare missing variable. * make.scm (main): all-go, clean-go: New targets. * GNUmakefile (PHONY_TARGETS): Add them. (.config.make): New target. * guile/guix/make.scm (%CC32): Set to #f if not found. (bin.gcc): Skip if CC not set. (check-target?, add-target): Skip if target is not set.
13 lines
257 B
Makefile
13 lines
257 B
Makefile
GUILE:=guile
|
|
GUILE_FLAGS:=--no-auto-compile -L guile -C guile
|
|
|
|
include .config.make
|
|
|
|
PHONY_TARGETS:= all all-go check clean clean-go default help
|
|
.PHONY: $(PHONY_TARGETS)
|
|
|
|
$(PHONY_TARGETS):
|
|
$(GUILE) $(GUILE_FLAGS) -s make.scm $@
|
|
|
|
.config.make: ./configure
|