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