TARGET ?= riscv64-linux-gnu AS = $(TARGET)-as LD = $(TARGET)-ld .SUFFIXES: .PHONY: all all: true false cat env hexdump #all: echo %: %.o $(LD) -o $@ $(filter %.o, $^) %.o: %.s $(AS) -o $@ $< prtest: prtest.o lib/printregs.o lib/hex.o sorttest: lib/sort.o .PHONY: test test: @BIN=. test/true.sh