2 GUILE_FLAGS:=--no-auto-compile -L . -L guile -C . -C guile
9 PHONY_TARGETS:= all all-go check clean clean-go default help install
10 .PHONY: $(PHONY_TARGETS)
21 build-aux/build-mes-gcc.sh
24 build-aux/build-mes.sh
30 build-aux/build-guile.sh
33 rm -f $(shell find . -name '*.go')
42 .config.make: ./configure
45 build-aux/build-mes-gcc.sh
46 cd $(TINYCC_SEED) && MES_PREFIX=$(PWD) ./refresh.sh
47 cd $(MES_SEED) && git reset --hard HEAD
48 MES=$(GUILE) GUILE=$(GUILE) SEED=1 build-aux/build-mes.sh
49 cd $(MES_SEED) && MES_PREFIX=$(PWD) ./refresh.sh
50 MES=$(GUILE) GUILE=$(GUILE) SEED=1 build-aux/build-mes.sh
51 cp lib/x86-mes/elf32-header.hex2\
53 lib/x86-mes/libc+tcc.S\
56 lib/x86-mes/libgetopt.S\
57 $(MESCC_TOOLS_SEED)/libs
58 cd $(MESCC_TOOLS_SEED) && MES_PREFIX=$(PWD) ./bootstrap.sh
61 Usage: make [OPTION]... [TARGET]...
65 all-go update .go files
66 cc update src/mes.gcc-out
67 mes-gcc update src/mes.mes-gcc-out
70 clean run git clean -dfx
71 clean-go clean .go files
72 install install in $(PREFIX)
73 seed update mes-seed in $(MES_SEED)
115 ifdef GUILE_LOAD_PATH
116 export GUILE_LOAD_PATH
119 ifdef GUILE_LOAD_COMPILED_PATH
120 export GUILE_LOAD_COMPILED_PATH
147 ifdef MESCC_TOOLS_SEED
148 export MESCC_TOOLS_SEED