BUILD=./build TOOLCHAIN = $(CURDIR)/../tools/bin/x86_64-unknown-redox/toolchain CARGO = $(TOOLCHAIN)/bin/cargo PATH := $(TOOLCHAIN)/bin:$(PATH) export AR_x86_64_unknown_redox=x86_64-unknown-redox-ar export CARGO_TARGET_X86_64_UNKNOWN_REDOX_LINKER=x86_64-unknown-redox-gcc export CARGO_TARGET_X86_64_UNKNOWN_REDOX_RUNNER=../../redoxer/target/release/redoxer exec --folder . export CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc export CFLAGS_riscv64gc_unknown_redox=-march=rv64gc -mabi=lp64d export CXX_x86_64_unknown_redox=x86_64-unknown-redox-g++ export GNU_TARGET=x86_64-unknown-redox export RUSTFLAGS=-L native=${TOOLCHAIN}/lib export RUSTUP_TOOLCHAIN=${TOOLCHAIN} export TARGET=x86_64-unknown-redox .PHONY: all all: \ $(BUILD)/bin/init $(BUILD)/bin/logd \ $(BUILD)/bin/ramfs $(BUILD)/bin/randd \ $(BUILD)/bin/redoxfs $(BUILD)/bin/zerod $(BUILD)/bin/nulld \ $(BUILD)/boot/bootstrap \ $(BUILD)/bin/acpid $(BUILD)/bin/fbcond \ $(BUILD)/bin/inputd $(BUILD)/bin/lived \ $(BUILD)/lib/drivers/nvmed $(BUILD)/bin/pcid \ $(BUILD)/bin/vesad \ $(BUILD)/lib/drivers/ahcid $(BUILD)/lib/drivers/ided \ $(BUILD)/bin/ps2d \ $(BUILD)/lib/drivers/virtio-blkd $(BUILD)/lib/drivers/virtio-gpud \ $(BUILD)/etc/pcid/initfs.toml \ $(BUILD)/etc/init.rc include make/simple include make/bootstrap include make/drivers $(BUILD)/etc/init.rc: ./init.rc @mkdir -p $(BUILD)/etc cp -v "init.rc" "$@"