1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.PHONY: all clean remake all: test clean: rm test test.s remake: clean make all test: test.s clang -Wall -Wextra $< -o $@ test.s: test.ll llc -W $< -o $@