TARGET ?= riscv64-linux-gnu
AS = $(TARGET)-as
LD = $(TARGET)-ld
.SUFFIXES:
.PHONY: all
all: true false cat env
#all: echo
%: %.o
$(LD) -o $@ $<
%.o: %.s
$(AS) -o $@ $<
.PHONY: test
test:
@BIN=. test/true.sh